PHOENIX — Geraldo Perdomo lined a walk-off single in the ninth inning, as the Arizona Diamondbacks stormed back from down 4-0 to stun the Los Angeles Dodgers on Tuesday, 5-4.

The Diamondbacks remain one game back from the third National League Wild Card spot after the New York Mets won and the Cincinnati Reds lost.

SNAKES. ALIVE.

Geraldo Perdomo walks it off for the @Dbacks! pic.twitter.com/6coSMyqwrW

— MLB (@MLB) September 24, 2025

The D-backs matched the Reds with an 80-77 record, and the Mets are in the third Wild Card spot at 81-76.

Arizona did all its damage off the Dodgers’ bullpen after starter Shohei Ohtani shut out the Diamondbacks through six innings with eight strikeouts.

Adrian Del Castillo hit a key two-run home run in the seventh inning to cut the deficit to 4-3, and Jorge Barrosa hit the game-tying sacrifice fly in the ninth inning off closer Tanner Scott.

Perdomo came up with two outs and a runner on second base, and he worked a 3-2 count before hitting the game-winner.

There are five games left.

Up next for Diamondbacks

The series continues on Wednesday at 6:40 p.m. MST.

Ryne Nelson gets the ball for Arizona against Los Angeles left-hander Blake Snell.

Tune in on 98.7 and the Arizona Sports app.