Arizona Diamondbacks relief pitcher Archie Bradley celebrates the final out against the Los Angeles Dodgers in a baseball game Friday, Aug. 30, 2019, in Phoenix. The Diamondbacks won 5-4. (AP Photo/Ross D. Franklin)

PHOENIX — A balk by Dodgers reliever Yimi Garcia sent home the tiebreaking run in the bottom of the eighth inning and helped the Arizona Diamondbacks to a 5-4 win over Los Angeles on Friday night.

With one out, Garcia (1-4) stepped off the rubber, turned abruptly to check Arizona's Adam Jones at first base and didn't throw over. The move was called a balk and allowed Tim Locastro to trot home from third base.

Archie Bradley (4-5) earned the win with 1 2/3 scoreless innings. Josh Rojas' first big league home run tied the game at 4-all. Eduardo Escobar also homered for Arizona.

The game ended with a little drama as Escobar nearly booted a hard grounder to third by Justin Turner but recovered and threw out Turner at first base, stranding two runners.

The Diamondbacks stalled the Dodgers' push to clinch the NL West with their fifth straight win. Arizona remained in contention for an NL wild card.

Los Angeles has lost five of eight.

Rojas blast cleared the right field fence with two outs in the bottom of the seventh, just after Jarrod Dyson beat out an infield hit and put the tying run on base.

Dodgers starter Tony Gonsolin lasted two batters into the sixth inning and recorded the first RBI of his career. He held the Diamondbacks scoreless until Escobar's two-run home run, and was charged with two runs on three hits with five strikeouts and two walks.

Arizona's Zac Gallen gave up three runs on five hits and struck out six in five innings.

The Dodgers' Enrique Hernandez hit his second double in the seventh, a line drive that Rojas misjudged in left field and watched sail over his head. The Dodgers cashed in on the mistake with two outs, when Matt Beaty drove in their fourth run with a single.

The Dodgers scored twice in the second, a rally that started with Corey Seager's crafty slide into second base for a hustle double. Seager switched hands as he slid headfirst into the bag and avoided the tag, though the throw from left field beat him.

Hernandez doubled into the left field corner to score Seager, and Gonsolin rolled a single into shallow right field that scored Hernandez.

In the third, Turner worked a 14-pitch walk from Gallen, and came home on Cody Bellinger's one-out triple that came to a stop in the right field corner.

Nick Ahmed's fifth inning double for the Diamondbacks was his 122nd hit of the season, a career high.

MUNCY OUT

Dodgers infielder Max Muncy was placed on the 10-day injured list Friday with a right wrist fracture.

An MRI on Muncy, who is batting .253 with 33 home runs and 87 RBIs, revealed a small fracture in the wrist, the result of him being hit by a pitch in Wednesday night's game at San Diego.

X-rays didn't reveal anything on Thursday, but a further examination Friday showed the extent of his injury.

The Dodgers activated infielder Kristopher Negron from the injured list to take Muncy's place on the roster. Negron missed 10 games after going on the IL on Aug. 20 with neck stiffness.

BOOS FOR TWO

Former Diamondback A.J. Pollock, who spent his first seven seasons with Arizona, heard the boos from the home crowd as a he came up to pinch hit for the Dodgers in the seventh. He struck out and heard jeers.

Diamondbacks reliever Archie Bradley was booed by Dodgers fans in the crowd when he came on in the eighth, likely because of the exchange of words he was in the middle of after a save at Dodger Stadium on Aug. 9.

NET WORTH

Extended protective netting will be in place at Dodger Stadium when the team returns home on Sept 2, the team announced Friday. The Dodgers had replaced the netting behind home plate and above both dugouts with a 33-foot net. An additional 124 feet was added down both baselines.

TRAINER'S ROOM

Dodgers: OF Alex Verdugo, a Sahuaro High grad, is in Arizona working his way back from a right oblique strain, which has him on the injured list since Aug. 6.

Diamondbacks: All-Star IF Ketel Marte wasn't in the lineup Friday due to lingering hamstring issues. ... OF David Peralta had surgery on his right shoulder Friday. He's out for the season.

UP NEXT

Dodgers: LHP Clayton Kershaw (13-3, 2.76 earned run average) starts against the Diamondbacks on Saturday. He's 16-9 in 32 career starts against Arizona.

Diamondbacks: LHP Robbie Ray (11-7, 3.86 ERA) faces the Dodgers. He has 155 strikeouts in 115 innings pitched against Los Angeles.