Wendell Cruz-USA TODAY Sports

Tomas Nido had the game-tying RBI double in the 10th inning and scored the winning run two pitches later for the host New York Mets, who stunned the Miami Marlins 5-4 on Saturday.

The Mets have won six of their last nine, while the Marlins have lost three of their last four.

Tanner Scott (4-3) struck out the first two batters in the 10th before Nido doubled under the glove of third baseman Brian Anderson to score automatic runner Mark Canha from second.

Brandon Nimmo followed by hitting a comebacker to Scott, who initially muffed the ball before bouncing the throw wide of first to score Nido easily, giving the Mets the dramatic win.

Colin Holderman (4-0) earned the win despite allowing an unearned run in the top of the 10th. Automatic runner Billy Hamilton went to third on a single by Jon Berti and scored when shortstop Francisco Lindor's throw to third sailed by Eduardo Escobar, who didn't cover the bag in time.

Pete Alonso snapped a scoreless tie by homering in the fourth off Braxton Garrett before the teams traded two-run rallies in the sixth.

The Marlins loaded the bases with one out against Carlos Carrasco, who gave up a single to Jesus Aguilar, walked Jesus Sanchez and surrendered a single to Avisail Garcia.

Brian Anderson followed with a double to deep centerfield to score Aguilar, but Sanchez was thrown out following a perfect relay from center field. Catcher James McCann appeared to tweak his left side while making the tag, and promptly exited the game.

Seth Lugo relieved Carrasco and uncorked a wild pitch that allowed Garcia to score before striking out Bryan De La Cruz.

The Mets reclaimed the lead in the bottom half of the frame when Nido hit a leadoff single and scored on Lindor's two-run homer.

Aguilar homered to left field off Adam Ottavino to tie the score in the eighth.

Carrasco allowed two runs on seven hits while walking two and striking out five over 5 2/3 innings. Garrett also went 5 2/3 innings, surrendering three runs on three hits. He walked one and struck out three.

More must-reads:

TODAY'S BEST
Veteran WR announces retirement from NFL
Mavericks come from behind to down Thunder, take 2-1 series lead
Stars continue road dominance with Game 3 win over Avalanche
Watch: Paul Skenes wastes no time showing why Pirates drafted him No. 1 overall
Watch: Braves were one out away from first no-hitter in 30 years
Roman Wilson hopes to become Steelers' next 'great' WR
Chargers sign veteran edge-rusher
Justin Allgaier dominates at Darlington for first win of 2024
'Great mind': One-time NBA champion endorses candidate for Lakers HC job
Celtics respond with impressive road win vs. Cavaliers in Game 3
Hurricanes' power play finally comes through with season on the line
Watch: An outstanding first half by Donovan Mitchell keeps the Cavaliers alive in Game 3 vs. Celtics
Tigers lose veteran starting pitcher to injury
Watch: Minor league baseball game interrupted by turtle delay
Paul Skenes experiences the Pirates' incompetence in just one game
Rangers ace continues to be plagued by nerve irritation in thumb
Cowboys hint at timeline for extension talks with offensive star
Steelers first-round pick has already 'apologized' to new locker mate
Former Packers WR makes bold prediction about Jordan Love
Broncos release former Super Bowl champion WR