Foles completed 21-of-25 passes for 230 yards with TD tosses to Brent Celek and Riley Cooper, and McCoy rambled for 133 yards on 18 carries as the NFC East-leading Eagles (9-6) bounced back from a loss to Minnesota last week.
Bryce Brown ran for 115 yards and a 65-yard touchdown on nine carries, helping Philadelphia roll up 514 total yards.
Brandon Boykin returned an interception 54 yards for a touchdown in the fourth quarter.
The Eagles will meet Dallas in next week's regular-season finale in a winner-take-all battle for the division crown.
Jay Cutler threw for 222 yards with a touchdown and a pick-off for the Bears (8-7), whose two-game winning streak was snapped.
Chicago will host Green Bay next week with the NFC North title on the line.
2014: NFL Cheerleaders [PHOTOS]
Michael Sam cut from the Dallas Cowboys