Athletics 5, Rays 4: Jonny Gomes hit a tiebreaking two-run homer in the top of the eighth inning to lift visiting Oakland.
Josh Donaldson had a pair of hits and an RBI as the Athletics handed Tampa Bay its second loss in nine contests and pulled within 1 1/2 games of the wild card-leading Rays.
Ryan Cook (6-2) struck out four in 1 2/3 innings in relief of starter Jarrod Parker for the victory and closer Grant Balfour earned his 13th save despite giving up a pinch-hit RBI double to Luke Scott in the ninth.
Gomes clubbed a two-out blast off Joel Peralta (1-6), his 15th of the season and seventh in 23 games since the All-Star break. He has hit safely in all eight games against his former team.
Derek Norris and Brandon Moss added RBI hits for Oakland, which has won seven of nine and remained tied with Baltimore for the second wild card spot.
Ben Zobrist homered and tripled and B.J. Upton had two hits and doubled home a run for the Rays, who fell to 16-6 in August.
Parker allowed three runs on seven hits in six innings, striking out seven and walking two. Rays lefty Matt Moore went 6 1/3 innings, allowing three runs on seven his. He struck out seven and walked one.
GAME NOTEBOOK: The Athletics acquired RHP Jesse Chavez from Toronto on Friday for cash. He was 1-1 with an 8.44 ERA in nine appearances this season. Oakland recalled RHP Jim Miller from Triple-A Sacramento. Miller takes the roster spot of RHP Tyson Ross, who was sent down after starting Thursday's game. ... Entering Friday's game, Tampa Bay's bullpen has compiled a 1.22 ERA since the All-Star break, the best in the majors. Closer Fernando Rodney is tied for the league lead with 39 saves. ... Oakland RF Josh Reddick was not in the starting lineup. He is batting only .175 in August and is mired in a 14-for-94 slump. ... Three Tampa Bay minor leaguers - 2B Ryan Brett and pitchers Charles Cononie and Justin Woodall - were each suspended 50 games Thursday for violating baseball's drug policy.