Geraldo Perdomo hit a walk-off single to cap a two-run ninth inning and the Arizona Diamondbacks rallied from a four-run deficit to spoil Shohei Ohtani's longest outing of the season in a 5-4 victory Tuesday in Phoenix.

Tanner Scott (1-4) hit Ildemaro Vargas and walked Tim Tawa to open the ninth before James McCann bunted the runners over and Jorge Barrosa tied it with a sacrifice fly.

Perdomo lined a single to left for his 98th RBI to keep the D-backs (80-77) within one game of the final NL wild-card berth.

Teoscar Hernandez homered and drove in three runs and Ohtani pitched six scoreless innings before the Dodgers' bullpen imploded.

Ohtani gave up five hits, all singles, and struck out eight without a walk. The Dodgers (88-69) remained three games from clinching the NL West for the 1

See Full Page