Ben Roethlisberger's 1-yard touchdown flip to fullback Will Johnson with 4:46 remaining finished up a 97-yard drive that lasted more than eight minutes, and the Steelers rallied to beat the Detroit Lions, 37-27, Sunday at Heinz Field.

Roethlisberger was 29 of 45 for 367 yards and four touchdowns — two in the first quarter and two in the fourth.

The Steelers (4-6) won their fourth in six games to keep their faint AFC playoff hopes alive heading into road games against AFC North rivals Cleveland and Baltimore. They play at the Browns on Sunday and four days later against the Ravens on Thanksgiving Day.

Detroit remained winless in Pittsburgh since 1955, a stretch of 10 games (0-9-1), despite 362 yards passing by Matthew Stafford, who completed only 19 of 46 passes.

The Lions (6-4) trailed 14-0 but surged back with 27 points in the second quarter to take a 27-20 halftime lead. Stafford, who passed for 267 yards in the quarter, threw touchdown passes of 79 and 19 yards to Calvin Johnson.

Detroit was in position to take a bigger lead at halftime but was turned aside on three consecutive plays from the 1-yard line and was forced to settle for a 19-yard field goal by David Akers with four seconds left in the half.

The game turned when Detroit, in position to take a 30-23 lead early in the second quarter, took a major gamble and failed.

The Lions lined up for a 27-yard field goal, but rookie holder Sam Martin took off with the ball and tried to run it through a gap on the left side of the Steelers' coverage unit. But Steve McLendon forced a fumble that Ryan Clark recovered, and the Steelers took over at their own 3.