DETROIT — Matthew Stafford threw two of his three touchdown passes to Kenny Golladay and the Detroit Lions snapped a three-game losing streak with a 31-26 victory over the slumping New York Giants on Sunday.

The Lions (3-3-1) took a two-TD lead in the first quarter and Stafford's 41-yard flea flicker to Golladay early in the fourth put them ahead by 12 points.

New York (2-6) turned the ball over on downs at the Lions 39 with 6:25 and at their 14 with 3:27 left, but it had another chance to come back.

Giants rookie Daniel Jones threw a 4-yard TD pass to Saquan Barkley and an extra point pulled them within five points late in the game. The ensuing onside kick went out of bounds, sealing Detroit's victory.

The Giants have lost four games in a row before the end of October for the second straight season.

Jones had career highs with 28 completions, 41 attempts, four TD passes and fell just short of another mark with 311 yards passing. He fumbled the ball attempting a pass that former Giants linebacker Devon Kennard recovered and returned 13 yards for a TD in the first quarter.

Jones provided a promising performance after throwing only TD pass in each of his last four games and seven interceptions during that span. He threw 22- and 28-yard TD passes to rookie receiver Darius Slayton, who pulled the Giants within a point late in the first half only to have Aldrick Rosas miss his first extra point of the season.

New York hurt its chances in the first half with flags, including one questionable penalty for running into the kicker to extend the Lions' drive late in the first half that ended with Matt Prater's 52-yard field goal to give them a 17-13 lead.

Stafford finished 25 of 32 for 342 yards with three touchdowns and an interception.

He threw a 49-yard TD pass to Marvin Hall late in the first quarter and connected with Golladay for scores in the second half.

INJURIES

Giants: WR Sterling Shepard (concussion) was out for the third straight game.

Lions: CB Darius Slay (hamstring) was inactive and CB Rashaan Melvin (knee) limped off the field late in the third quarter and didn't return.

UP NEXT

Giants: Host Dallas on Monday, Nov. 4.

Lions: Play at Oakland on Sunday.

Other headlines from 13 ON YOUR SIDE:

RELATED VIDEO:

►Make it easy to keep up to date with more stories like this. Download the 13 ON YOUR SIDE app now.

Have a news tip? Email news@13onyourside.com, visit our Facebook page or Twitter.