ARLINGTON, Texas (AP) -- Joey Gallo knew he hit the ball far enough. The young slugger's only concern was if it would stay fair.
It did, and the Texas Rangers won with a game-ending three-run homer for the second night in a row.
Gallo's 12th homer of the season ricocheted high off the foul pole down the right field line for a 5-2 victory over Oakland on Friday night.
"I was like, 'OK, that's gone.' And then it started hooking really quick," Gallo said. "That was the first one I ever hit off the foul pole, so that was pretty cool."
For the Rangers, the ending was pretty much a repeat of Thursday night, when Mike Napoli's three-run homer capped a four-run ninth inning to beat the San Diego Padres by the same 5-2 score.
"To win them in that kind of fashion ... it's momentum," Gallo said. "In a million years, I didn't think it would be the same three-run home run to win it."
Texas matched a season high with its fourth consecutive victory.
Jonathan Lucroy and Rougned Odor got the ninth started with consecutive singles. Napoli then hit a deep sacrifice fly to tie the game.
Odor was stopped at third when Carlos Gomez doubled into the right-center gap, but they all came home when Gallo pulled the full-count pitch off A's closer Santiago Casilla (1-2).
"We were trying to strike him out," manager Bob Melvin said. "Man on third, one out. He's a good hitter, but he's their biggest strikeout guy."
Gallo does have a majors-high 54 strikeouts, but is also second in the AL with the 12 homers and leads the Rangers with 27 RBIs. He is playing regularly in place of veteran third baseman Adrian Beltre, who has been on the disabled list all season with a calf issue.
Gomez led off the Texas fifth with a double, went to third on an errant pickoff throw, then tied the game at 1-1 on a squeeze bunt by Delino DeShields. Gomez made a great headfirst slide around the sweeping tag attempt by catcher Stephen Vogt while reaching out to touch the plate.
"There was a lot of energy really," manager Jeff Banister said when asked about Gomez. "We've got a number of guys in that dugout that really do that. But yeah, (Gomez) set a nice tone for us."
Pinch-hitter Mark Canha put Oakland up 2-1 in the seventh when he lined an RBI double over the outstretched glove of 6-foot-5 third baseman Gallo and into the left-field corner. Canha was hitting for Matt Joyce, whose homer in the fifth had put the A's up 1-0.
Oakland's Jesse Hahn pitched seven strong innings, limiting the Rangers to one run and four hits and left with the lead. ... This is the fourth time in Rangers' history they won consecutive games with walk-off homers. ... Keone Kela (1-1), the fourth Rangers pitcher, went the last two innings.
NO K FOR KHRIS
While A's LF Khris Davis was 0 for 4, he didn't strike out for the first time in 22 games. That streak of 21 games in a row with a strikeout (33 total in that stretch) was the longest streak in team history by a non-pitcher.
A's: C Josh Phegley, who took a ball off his mask May 3, was reinstated from the 7-day concussion DL. ... RHP Sean Manaea is scheduled to come off the DL on Monday to pitch for the A's at Seattle. He's been out since April 27 because of a strained left shoulder.
A's: RHP Sonny Gray is 6-0 with a 1.45 ERA in six career road starts in Texas. Gray has eight wins overall against the Rangers since the start of the 2014 season, the most by any pitcher against them in that span.
© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed
for more features.