OAKLAND, Calif. (AP) Danny Valencia homered in the fourth inning and singled in the winning run in the bottom of a wild ninth to lift the Oakland Athletics past the Houston Astros 5-4 on Sunday.
Josh Reddick had two hits and drove in two runs, including the tying run in the ninth, for the A's, who won their third straight and sixth of nine overall.
Colby Rasmus hit a three-run homer in the top of the ninth to give the Astros a 4-3 lead and set off a celebration in the dugout.
The Athletics turned the cheering around with the runs driven in by Reddick and Valencia and they took their teammate-pounding celebration on much of the infield.
The Astros have lost six of their last seven games.
Edward Mujica of the Athletics did not record an out in the ninth inning, giving up singles to Carlos Gomez and Jed Lowrie ahead of Rasmus' blast into the bleachers in right field. Fernando Abad (1-2) relieved and got the three outs for the win.
Luke Gregerson (5-2) took the loss with his fifth blown save in 27 chances.
Valencia, who drove in both runs in the A's 2-1 win over the Astros on Saturday, put the A's ahead in the fourth with his ninth home run, second with the A's.
Jose Altuve, who has a 20-game hitting streak in Oakland, scored from first on Carlos Correa's double in the sixth to tie the score.
A's starter Chris Bassitt gave up a run and three hits in 6 2-3 innings. Bassitt struck out a career-high 10 and walked two. He has 23 strikeouts in his last 20 2-3 innings after recording 21 over his first 33 2-3 innings.
Mike Fiers made his starting debut for the Astros and his second appearance overall. He gave up one run and five hits, walking one and striking out four in 6 2-3 innings.
Astros: DH Chris Carter played in consecutive games because manager A.J. Hinch liked the way he hit the ball Saturday. ... LHP Oliver Perez was recalled following Saturday's game. RHP Asher Wojciechowski was sent to Triple-A Fresno.
Athletics: OF Coco Crisp returned to the starting lineup a day after leaving the game early due to a reaction to medication. ... LHP Sean Doolittle threw a bullpen session and will begin a rehab assignment with Triple-A Nashville on Tuesday.
A HEALTHY OPTION
The Athletics reinstated RHP Taylor Thompson (strained right shoulder) from the 60-day DL and optioned him to Triple-A Nashville during the game. He began a rehab assignment with Single-A Stockton on July 20 and was 0-2 with a 14.54 ERA in four relief appearances with the Ports. Thompson was transferred to Nashville on Aug. 1 and allowed three unearned runs in 3 1-3 innings in three games. He was 1-2 with a 8.22 ERA in seven appearances overall.
Astros: LHP Scott Kazmir (6-6, 2.08), whom the A's traded to Houston last month, makes the start Tuesday in the series opener against LHP Madison Bumgarner and the San Francisco Giants. The Astros are 10-2 in interleague play, the best record in the majors
Athletics: RHP Kendall Graveman (6-7, 3.90) will start Tuesday's game at Toronto. He's 0-3 with a 6.20 ERA over his last five starts.