Josh Allen threw two touchdown passes and ran for another score, and Buffalo clinched the AFC’s No. 2 seed with a 40-14 rout of unraveling and undisciplined New York on Sunday.

The Bills put the game away by capitalizing on two Jets turnovers and scoring three touchdowns over a 5:01 span in the closing minutes of the third quarter. Buffalo’s defense forced three takeaways overall and sacked Aaron Rodgers four times, including a 2-yard loss for a safety in the second quarter.

Allen had a short and efficient outing, finishing 16 of 27 for 182 yards with a 30-yard TD pass to Amari Cooper and a 14-yarder to Keon Coleman before giving way to backup Mitchell Trubisky with Buffalo leading 33-0 through three quarters. And Trubisky piled on by completing a 69-yard touchdown pass to practice squad call-up Tyrell Shavers 2:23 into the fourth quarter.

Allen’s two-TD passing outing was the 64th of his career to match Peyton Manning for the third most in a player’s first seven NFL seasons. Patrick Mahomes holds the record with 67 two-TD outings in that span, followed by Dan Marino’s 65.

Allen also became the NFL’s first player with five consecutive 40-TD seasons, while his 1-yard score was the 65th rushing TD of his career, matching the team record held by Thurman Thomas.

Giants 45 Colts 33

New York snapped a franchise-record 10-game losing streak and ended Indianapolis’ slim playoff hopes Sunday as Drew Lock threw four touchdown passes and ran for another in a victory.

New York earned its first home win of the season and it no longer has control of the No. 1 overall pick in the draft.

Lock sandwiched touchdown passes of 31 and 59 yards to Malik Nabers around TD passes of 32 yards to Darius Slayton and 5 yards to Wan’Dale Robinson in leading the Giants (3-13) to their first win since beating Seattle on Oct. 6.

Ihmir Smith-Marsette had a 100-yard return on the second-half kickoff on a day the league’s worst offense set a season high for points.

Raiders 25, Saints 10

Aidan O’Connell passed for two touchdowns, tight end Brock Bowers broke two rookie NFL records, and Las Vegas won for just the fourth time this season, over struggling New Orleans.

Bowers’ seven catches for 77 yards gave him 108 receptions for 1,144 yards this season, eclipsing Mike Ditka’s 1961 rookie tight end mark of 1,067 yards receiving and Puka Nacua’s 2023 mark of 105 catches by a rookie at any position. Bowers also surpassed Darren Waller’s franchise mark of 107 receptions in a season, which had stood since 2020.

Ameer Abdullah rushed for 115 yards for the Raiders (4-12) — the journeyman running back’s first 100-yard game in his 10 NFL seasons.

O’Connell finished with 242 yards passing, including a 3-yard TD pass to Jakobi Meyers and an 18-yarder to Tre Tucker.

Jaguars 20, Titans 10

Mac Jones threw two touchdown passes, including one to standout rookie Brian Thomas Jr., and Jacksonville beat Tennessee in the rain to sweep the season series for the fourth time in 30 years.

Jones completed 15 of 22 passes for 174 yards, with most of them going to Thomas. The first-round draft pick from LSU finished with seven receptions for 91 yards. His 11-yard TD catch with 7:05 remaining gave him his eighth game with at least 60 yards and a score, tying him with Hall of Famer Randy Moss for the most by a rookie in NFL history.

Thomas, who has five TD catches in his past four games, also became the fifth player in Jaguars history with double-digit TD receptions in a single season. He joined Allen Robinson, Allen Hurns, Marcedes Lewis and Reggie Williams.

Eagles 41, Cowboys 7

Saquon Barkley rushed for 167 yards to top 2,000 on the season, backup quarterback Kenny Pickett ran and threw for scores before departing with injured ribs, and Philadelphia clinched the NFC East title by routing Dallas.

Barkley has 2,005 yards and needs 101 in next week’s mostly meaningless regular-season finale to top Eric Dickerson and his 2,105 yards for the Los Angeles Rams in 1984.

The Eagles (13-3) led 24-7 in the third quarter when Pickett was drilled by defensive end Micah Parsons, ending his first start in place of the concussed Jalen Hurts. Tanner McKee, a career third-stringer, entered the game and the Eagles finished the drive with a field goal.

Bucanneers 48,

Panthers 14

Baker Mayfield threw for 359 yards and five touchdowns to help Tampa Bay keep their division and playoff hopes alive with a rout of Carolina.

Tampa Bay’s fifth win in the past six weeks nudged the first-place Bucs (9-7) a half-game ahead of Atlanta for the best record in the NFC South, with the Falcons set to play on the road later Sunday night at Washington.

Atlanta holds the tiebreaker in the division race and can end Tampa Bay’s three-year reign as NFC South champions by beating the Commanders and winning again next week at home against the last-place Panthers (4-12).

Dolphins 20, Browns 3

Tyler Huntley scrambled for a touchdown and threw for one while starting for Tua Tagovailoa, and Miami stayed in the playoff race heading into their season finale with a win over Cleveland.

With Tagovailoa sidelined by a hip injury, Huntley did enough to keep the Dolphins (8-8) alive with one game left.

Miami needs to win next weekend at the New York Jets and hope the Denver Broncos lose at home to Kansas City to get a wild-card berth.

Vikings 27, Packers 25

Sam Darnold added another exploit to his career-altering season, passing for a personal-best 377 yards and three touchdowns as Minnesota hung on to beat Green Bay for their ninth consecutive victory that put them one win from the NFC’s top seed for the playoffs. Darnold hit Jalen Nailor, Jordan Addison and Cam Akers for scores to raise his passing touchdown total to 35.