Varitek’s solo homer tied the game, 6-6, and Lugo’s two-run shot gave the Red Sox the victory. Boston's J.D. Drew had three RBI, two on a home run in the sixth.
Jacoby Ellsbury had two hits and one RBI, while Varitek had three hits as the Red Sox stayed 2 ½ games ahead of the New York Yankees in the AL East and became the first team to clinch a 2007 playoff berth.
The winner was Eric Gagne (4-2).
Jonathan Papelbon recorded his 36th save.
Tampa Bay's Carlos Pena knocked in four runs, one with his 41st homer in the fourth, and three with his 42nd homer in the seventh. Greg Norton had three hits and two RBI for the Devil Rays, who have dropped five in a row.
The losing pitcher was Al Reyes (2-4).