SAN DIEGO (AP)Rookie Seth Mejias-Brean hit a two-run homer with no outs in the 10th inning and the San Diego Padres beat the Arizona Diamondbacks 6-4 Sunday to give interim manager Rod Barajas his first win since taking over for the fired Andy Green.
Mejias-Brean homered off Yoan Lopez (2-7) on a 1-1 pitch for his second overall and his first walkoff homer. Greg Garcia was aboard on a leadoff double.
The Padres avoided a three-game sweep and pushed the Diamondbacks closer to elimination from the wild-card race.
Barajas was promoted from bench coach Saturday after Green was fired. The Padres lost Saturday night, 4-2.
Matt Strahm (6-10) pitched a perfect 10th for the win.
Padres center fielder Manuel Margot leaped at the fence to rob Christian Walker of a two-run home run to end the seventh.
Arizona lefty Robbie Ray struck out 10 in 5 1/3 innings, but also allowed four runs and three hits, with four walks.
San Diego starter Garrett Richards didn’t get out of the second inning in his Petco Park debut after allowing four runs in the span of seven batters. Walker drew a leadoff walk and San Diegan Adam Jones hit a two-run home run with one out, his 16th. Nick Ahmed followed with a triple and scored on Carson Kelly’s single. After Robbie Ray’s sacrifice, Abraham Almonte hit an RBI double.
Richard walked Josh Rojas and was replaced by Javy Guerra, who got Eduardo Escobar to ground out on his first pitch to end the inning.
San Diego’s Ty France hit a two-run homer in the fourth off Ray, his seventh.
The Padres tied it in the sixth, when Ray put two runners on before striking out Luis Urias and then making way for Matt Andriese. He got the second out but then allowed an RBI single by rookie Seth Mejia-Brean and an RBI double by pinch-hitter Francisco Mejia.
Richards allowed four runs and four hits, struck out two and walked two.
Diamondbacks: LHP Alex Young (7-4, 3.27) is scheduled to start the opener of a three-game home series against the St. Louis Cardinals on Monday night.
Padres: Rookie RHP Ronald Bolanos is scheduled to start Tuesday night’s opener of the final home series, against the Los Angeles Dodgers.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP-Sports