MIAMI GARDENS — Rookie linebacker Jerome Baker intercepted Sam Darnold and scored the only touchdown on a 25-yard return with 11 minutes left, and a resilient defense helped the Miami Dolphins beat the New York Jets 13-6 on Sunday.

Darnold threw four interceptions and took four sacks, and the Jets went 2 for 15 on third and fourth down.

The hobbled Dolphins endured another wave of injuries and the mysterious departure of safety Reshad Jones, who pulled himself out of the game. But their defense was much improved after three consecutive poor games.

“We never panicked; we knew what our defense was capable of,” Baker said. “When we are executing and do our job and play together, we’re one of the best defenses out there.”

The quality of the opposition helped the defense dominate, however, allowing Miami to win with only seven first downs.

Darnold tried to rally his sputtering team from a 6-3 deficit, but following a punt the rookie took a high snap and made an ill-advised throw to tight end Eric Tomlinson. Baker stepped in front for his first career interception and scored untouched.

“I didn’t throw it with confidence,” Darnold said. “I just alligator-armed it — threw it a little bit short.”

T.J. McDonald and Walt Aikens made interceptions to end the Jets’ final two possessions.

“The guys did a good job of complementary football,” Miami coach Adam Gase said. “They played together. They did a good job of stopping the run and making it as one-dimensional as possible.”

The Dolphins (5-4) broke a two-game losing streak and won for only the second time in the past six games. Coach Adam Gase improved to 5-1 against the Jets, including two wins this year.

The Jets (3-6) lost their third in a row and have scored 33 points during the skid. They’ve dropped nine of their past 10 road games dating to 2017.

Darnold went 21 for 39 for 229 yards and a passer rating of 31.8. He came into the game tied for the NFL lead with 10 interceptions, and the four picks were a new high.

“Two for sure he’d like to have back,” coach Todd Bowles said. “Back to the drawing board.”

Cameron Wake and Akeem Spence had two sacks apiece for the Dolphins, who had allowed 102 points the previous three weeks.

“Everybody playing together — front to back, side to side — and getting a win, that’s about as rewarding as it is,” Wake said.

TO THE BENCH

Jones, whose tendency to freelance has been an issue, watched the second half from the sideline. Gase said he didn’t know whether Jones was hurt.

“It sounds like he pulled himself out,” Gase said. “I’ve just got to find out what happened there.”

Jones didn’t talk to the media after the game.

DOLPHINS SUB

Miami totaled only 168 yards, but Brock Osweiler improved to 2-2 as a starter filling in for the injured Ryan Tannehill. Osweiler went 15 for 24 for 139 yards and took four sacks, but committed no turnovers.

INJURY REPORT

Dolphins: LT Laremy Tunsil (knee) left in the fourth quarter. ... RT Ja’Wuan James (knee) departed in the first half, but later returned. ... CB Bobby McCain was evaluated for a concussion. ... DE Robert Quinn limped off in the field in the closing minutes.

Jets: Backup LB Tarell Basham (knee) left the game in the second half.

FULL WEEKEND

The field looked worn but seemed not to be an issue less than 24 hours after the Miami Hurricanes and Duke played on it in a downpour.

UP NEXT

Dolphins: play at Green Bay for the first time since 2010 on Nov. 11.

Jets: play host to Buffalo on Nov. 11. The teams also meet on Dec. 9.