Yankees 5, A's 4
NEW YORK -- First baseman Mark Teixeira hit solo home runs in consecutive at-bats Wednesday, and the New York Yankees held off the Oakland Athletics, 5-4.
Teixeira recorded his 39th career game with at least two home runs and second this season but did not get a chance at a third home run when he was intentionally walked with two outs in the seventh.
Both home runs came off reliever Evan Scribner (2-2), who came on after Oakland starter Scott Kazmir exited with left triceps tightness in the third inning.
Teixeira hit his first home run to right field in the fourth and slugged his second over the right-center-field wall. He has 22 homers on the year and a league-leading 61 RBIs.
Before Teixeira's first home run, shortstop Didi Gregorius hit an RBI double in the second to cut Oakland's early lead to 2-1. In between Teixeira home runs, New York second baseman Jose Pirela lifted a go-ahead sacrifice fly in the fourth.
Yankees second baseman Stephen Drew also homered in the eighth. Drew's 12th home run wound up being crucial when New York closer Andrew Miller allowed a two-run home run to shortstop Marcus Semien with one out in the ninth.
Left-hander CC Sabathia (4-8) won for the first time in five starts while pitching on eight days' rest. In his first victory since June 7 against the Los Angeles Angels, Sabathia allowed two runs and seven hits in 5 1/3 innings.
Sabathia threw 59 of 88 pitches for strikes and retired 12 of the final 16 hitters he faced.
Bryan Mitchell, Justin Wilson and Dellin Betances combined on 2 2/3 scoreless innings before Miller made his first appearance since June 9. The closer, who was sidelined due to a strained left forearm, came off the disabled list before the game.
After Miller allowed Semien's home run, Oakland's Stephen Vogt reached second on a throwing error by third baseman Gregorio Petit. Miller notched his 18th save by retiring second baseman Ben Zobrist on a grounder to third.
Kazmir, who exited a start with left shoulder tightness May 27, allowed an unearned run and two hits in three innings.
Oakland took a 2-0 lead with one out in the second on RBI bloop singles from catcher Josh Phegley and left fielder Mark Canha. Sabathia escaped by getting Semien on a lineout and center fielder Billy Burns on a popup.
New York got a run back with one out in the second as right fielder Chris Young reached on error by third baseman Brett Lawrie and scored on a double by Gregorius. The shortstop was thrown out trying to stretch the hit into a triple.
NOTES: The Yankees activated CF Jacoby Ellsbury and LHP Andrew Miller off the disabled list and optioned OF Ramon Flores and RHP Nick Rumbelow to Triple-A Scranton/Wilkes-Barre. ... Oakland manager Bob Melvin said LHP Sean Doolittle (left shoulder) felt great after throwing from 60 feet on Tuesday in his first session since going on the disabled list May 28. ... New York 3B Chase Headley was held out of the starting lineup with calf soreness, though manager Joe Girardi did not know which calf was sore. ... Tuesday was Oakland's first win in extra innings. Its six-game losing streak beyond the ninth inning equaled the team's longest in the past 20 years, a mark matched in 2011 and 1999.