OAKLAND, Calif. (AP) — Sam Fuld slid into home to just beat the throw for the winning run with one out in the ninth and the Oakland Athletics snapped a four-game losing streak with a 5-4 victory against the Texas Rangers on Wednesday night.

Fuld had a one-out single off Keone Kela (4-3) for just his eighth hit in 80 at-bats and stole second. Fuld advanced on Billy Burns' infield single and shortstop Elvis Andrus held the ball rather than throwing to third.

Josh Reddick followed with a sharp grounder that second baseman Adam Rosales fielded and threw home just barely too late. It marked Reddick's fifth career game-ending RBI.

Oakland's comeback spoiled a 10-strikeout night by Texas starter Yovani Gallardo.

Billy Butler hit a tying single off Tanner Scheppers in the eighth after Oakland scored another run on third baseman Joey Gallo's throwing error.

Tyler Clippard (1-3) pitched a perfect ninth for the win.

Rangers right fielder Shin-Soo Choo caught Max Muncy's deep fly at the wall to end the eighth.

Gallardo overcame a 30-pitch first inning that put him in a 1-0 hole and got stronger late. He struck out the side in order in the sixth to give him four straight Ks. He reached double digit strikeouts for the 19th time in his career and first since Sept. 19 at Pittsburgh.

Mitch Moreland hit a pair of RBI singles as Texas lost for only the 13th time on the road.

A's starter Jesse Hahn lasted just 3 2-3 innings and hit three batters.

Hahn plunked Choo in the right upper back to load the bases with none out in the third. Prince Fielder followed with a sacrifice fly.

Hahn also hit Leonys Martin in the third and Fielder in the fourth. The three hit batsmen matched an Oakland record done eight times previously and first since Barry Zito on April 15, 2005.

Switch-pitcher Pat Venditte relieved after Moreland's fourth-inning single. Throwing left-handed, he struck out Gallo on three pitches.

He pitched two more scoreless innings — going 1-2-3, right-left-right in the sixth that ended with a strikeout of Fielder.

In the first, the A's challenged that Delino DeShields was safe at first on a pickoff attempt. The call was overturned on review in 50 seconds. DeShields led off the game by reaching on shortstop Marcus Semien's 20th error — also Oakland's majors-leading 58th error.

TRAINER'S ROOM

Rangers: LHP Martin Perez made his first rehab start since Tommy John elbow ligament replacement surgery in spring 2014. He went 2 2-3 innings for Double-A Frisco, allowing five hits and one run with four strikeouts and no walks. ... 1B/OF Kyle Blanks, out following a procedure for a cyst in his tailbone area, could be activated as soon as Thursday.

Athletics: RHP Jarrod Parker visited the A's as he recovers from a fractured elbow following two Tommy John surgeries. ... Reliever Edward Mujica (fractured right thumb) threw on flat ground and is scheduled to pitch a bullpen session Thursday.

UP NEXT

Rangers: RHP Chi Chi Gonzalez (2-0, 0.00 ERA with 14 2-3 scoreless innings) pitches the series finale at Oakland looking to become the first pitcher in franchise history to win each of his first three major league starts. Gonzalez has already joined Glen Cook (1985) and Kevin Brown (1986-88) to win his first two outings.

Athletics: LHP Scott Kazmir (2-4) tries for his first win in 10 starts since an April 13 victory at Houston. He is 0-4 with a 4.85 ERA and .299 opponents batting average over his last six outings.