Foley was a three-year starter at Bucknell University, playing one season as a guard and two as a center. During his junior year, he was named the Bison's top lineman. As a senior, he served as the team's captain.
Foley coached the Fordham Rams for seven seasons, including two seasons as head coach. As Fordham's offensive coordinator and offensive line coach, Foley helped rejuvenate a program that won the Patriot League championship in 2002 with a 10–3 record. In 2000, Foley's offense established a running game that set a team record for most rushing yards in a single. In 2001, the Fordham offense had its first 1,000-yard rusher and first-ever 1,000-yard receiver on the NCAA Division I-AA level. That yearm Rams had the second-ranked passing offense in the Patriot League and the second-best scoring offense as well. In 2002, Fordham led the Patriot League in passing and scoring offense, while finishing second in total offense, and setting a team record for most points in a season. In addition to winning the Patriot League title, the Rams advanced to the NCAA I-AA Playoffs, where they defeated the Northeastern Huskies in the first round. In 2003, six members of the Rams offense were named to the All-Patriot League Team, including four whom were named to the first team. The Rams broke the team record for most rushing yards in a season for the second time in Foley's tenure, while also setting a school record for most pass completions in a season. As head coach, Foley had a 7–15 record over two seasons with a 4–8 conference record. Foley's short tenure as head coach was due to his poor record and not endearing himself to his players.
Hofstra
Foley spent three seasons at Hofstra University as the assistant head coach, offensive coordinator, and offensive line coach. In his first year as coordinator, the team's total yardage increased from 269 to 388 yards per game and from 16.8 to 26.9 points per game. Foley also brought balance to the Pride attack as Hofstra's rushing total was its highest since 2000 and its passing attack netted 243 yards per contest.
Temple
In 2008, Foley joined the Temple coaching staff as the recruiting coordinator, tight ends coach, and assistant offensive line coach. On December 6, 2016, it was announced that Foley will act as interim head coach for Temple at the Military Bowl on December 27, after Matt Rhule was announced to be the new head coach for Baylor. Foley coached Temple in the 2016 Military Bowl. Following the Military Bowl, Foley was retained by Geoff Collins as Temple's tight ends coach. In 2018, Foley was promoted to assistant head coach of offense. On December 7, 2018, Foley was once again named interim head coach of Temple for the 2018 Independence Bowl on December 27, after Collins left for the head coaching job at Georgia Tech.