Foles' 1-yard toss to Maclin came after he led the Eagles on a 64-yard drive with the clock winding down. His 4th-and-1, first-down run with less than 1 minute left kept the push alive.
The game-winning strike was reviewed to determined if Maclin had stayed inbounds and was upheld by the officials, allowing Philadelphia (4-9) to snap an eight-game losing streak.
Tampa Bay (6-7), meanwhile, dropped its third straight.
Walmart selling 'Destroy Capitalism' by Banksy prints
Michelle Rodriguez breaks silence on Paul Walker's death