Foles, who had missed the Eagles' previous two games, show few ill effects from the layoff, completing 22-of-28 passes for a career-high 406 yards.
Three of his TD tosses went to Riley Cooper, who made five catches overall for 139 yards as the Eagles (4-5) set a team record for most points scored in a road game.
DeSean Jackson hauled down five passes for 150 yards and a score.
The Raiders (3-5) were led by Rashad Jennings, who provided 176 total yards with a touchdown on 15 rushing attempts and seven catches.
Oakland's Terrelle Pryor made good on 22-of-41 passes for 288 yards with two interceptions before leaving with a knee injury.
Celebrity Couples of 2014 [PHOTOS]