ORCHARD PARK, N.Y. — Matt Forte scored three touchdowns and Ryan Fitzpatrick finally solved Rex Ryan’s defense, leading the New York Jets to a 37-31 victory over the Buffalo Bills on Thursday night.

Forte’s 3-yard run put New York ahead 27-24 with 2:12 left in the third quarter. He sealed the win by patiently waiting for a seam to open before scampering into the end zone from 12 yards to put New York up 37-24 with 4:02 left in the fourth quarter.

Forte finished with 100 yards rushing, and the offseason free-agent addition became the 13th New York player to score three rushing touchdowns in a game.

The Jets (1-1) bounced back from a season-opening loss to Cincinnati and snapped a five-game skid against their AFC East rivals.

Fitzpatrick finished 24 of 34 for 374 yards and a 5-yard touchdown pass to Eric Decker.

In beating one of his former teams, Fitzpatrick also overcame the stinging memories of last year’s season finale, a 22-17 loss at Buffalo that eliminated the Jets from playoff contention. Fitzpatrick closed the loss by throwing interceptions on each of the Jets’ final three possessions.

The Bills (0-2) are suddenly reeling in Ryan’s second season as coach, and two years after being fired by the Jets.

Their offense sputtered in a 13-7 loss at Baltimore on Sunday, and now it was their defense that showed cracks against the Jets.

New York finished with 493 yards of offense, 28 first downs and had seven drives cross midfield.

NOTES

RAMS: Defensive tackle Michael Brockers agreed to a three-year contract extension through 2019.

Brockers is a key component of the defensive line, considered one of the NFL’s best units. Playing alongside Aaron Donald on the interior of the line, Brockers had career highs with 74 tackles and 12 tackles for loss last season.

SEAHAWKS: Quarterback Russell Wilson insists he’ll be ready to play Sunday against Los Angeles.

Wilson was a full participant in practice each of the past two days after suffering a sprained ankle in the third quarter of last week’s game against Miami.

FRED QUILLAN, the former center who played on San Francisco’s first two Super Bowl champion teams, died Monday. He was 60.

Quillan played all 10 seasons of his NFL career with the 49ers after being drafted in the seventh round out of Oregon in 1978. He appeared in 143 games and made 129 starts in the regular season. He also appeared in 11 playoff games, including Super Bowl wins following the 1981 and ’84 seasons.

GIANTS: Fullback/defensive lineman Nikita Whitlock was suspended without pay for the team’s next 10 games for violating the NFL policy on performance-enhancing substances.

FALCONS: Receiver Julio Jones said he’s “good to go” for Sunday’s game at Oakland as he tries to move past a nagging ankle injury.

Jones tweaked his left ankle injury in Sunday’s 31-24 loss to Tampa Bay. He missed Atlanta’s final exhibition game after turning the ankle.

TEXANS: Receiver DeAndre Hopkins won’t be wearing his Kanye West-designed Yeezy cleats again anytime soon after the shoes earned him a fine from the NFL.

Hopkins, who has a multiyear contract with Adidas, said he received a fine of $6,000 for wearing the shoes in the popular turtle dove color. He received a fine for the shoes because NFL rules say shoes must have one dominant base color, which the Yeezy’s do not.