David Montgomery scored on a 1-yard run with 29 seconds remaining and the Detroit Lions rallied from a 12-point, fourth-quarter deficit to pull out a 31-26 victory over the visiting Chicago Bears on Sunday.Montgomery, a former Bears running back, rushed for 76 yards and the go-ahead touchdown. Jared Goff, who threw a season-high three interceptions, engineered two fourth-quarter scoring drives and finished with 236 yards passing and two touchdowns.Amon-Ra St. Brown caught eight passes for 77 yards and a touchdown for Detroit (8-2).Bears quarterback Justin Fields, who missed the four previous games with a thumb injury, passed for 169 yards and a touchdown and also rushed for 104 yards. DJ Moore caught seven passes for 96 yards and a touchdown for Chicago (3-8).Down 26-14, Goff hooked up with Jameson Williams on a 32-yard score with 2:59 remaining to cut the deficit to five.Detroit forced a three-and-out to set up the game-winning 73-yard drive. It began with a 13-yard completion from Goff to Montgomery and culminated with Montgomery’s 1-yard run. Goff then completed a two-point conversion pass to Sam LaPorta.Aidan Hutchinson forced Fields to fumble and the ball was kicked out of the end zone, resulting in a safety with 22 seconds left.Detroit led 14-10 at halftime.On Chicago’s opening drive, D’Onta Foreman scored on a 1-yard run.A fumble recovery by Detroit’s Alex Anzalone at the Bears’ 34-yard line set up Detroit’s first touchdown. Jahmyr Gibbs rushed from 2 yards out with 9:23 left in the half.