NEW YORK (AP) - Brandon Allen hit two tape-measure homers, Eric Sogard connected for one that barely cleared the wall and the Oakland Athletics hung on to beat the New York Yankees 6-5 on Tuesday night.
Brandon McCarthy ran the A's stretch of superb pitching into the eighth before allowing a two-out, three-run homer to Nick Swisher that lifted a quiet crowd. The three runs were one more than Oakland had given up in the previous three games combined.
The Yankees, who trailed 6-0 in the seventh, rallied for two runs in the ninth against closer Andrew Bailey, before Swisher flied out to the wall in right-center with the bases loaded to end it for his 17th save.
Scott Sizmore doubled in two runs on the first pitch he saw as a pinch-hitter in the seventh inning and Josh Willingham had a sacrifice fly in the sixth for Oakland.
McCarthy (7-6) gave up eight hits and struck out six in 7 2-3 innings, improving to 6-1 in eight starts since the All-Star break.
Bailey gave up a homer to Jorge Posada to open the ninth and Russell Martin doubled. Brett Gardner reached on an error by Sizemore at third base and Curtis Granderson walked to load the bases after Derek Jeter sacrificed the runners over. An out later, Robinson Cano walked on what appeared to be strike 3 to make it 6-5.
Swisher then sent a drive that Coco Crisp caught just in front of the wall to give Bailey his ninth save in nine chances since the All-Star break.
Jeter had three hits, tying Rod Carew for 22nd place all-time with 3,053. But McCarthy stifled the rest of a New York lineup that was again missing Alex Rodriguez.
A-Rod returned from knee surgery for his first game since July 7 on Sunday and sprained his thumb fielding a ball against the Twins. X-rays Tuesday were negative and he is day to day.
Engineers gave Yankee Stadium a clean bill of health after an earthquake in Virginia shook much of the East Coast, and 47,343 fans saw the A's improve to 2-6 against New York this season.
The A's came in having hit 81 home runs, tied for second-fewest in the American League, but they did most of their damage with the long ball Tuesday.
With one out in the second inning, Allen crushed a drive off Bartolo Colon (8-8) into the third deck, only the second ball to reach that height at the new Yankee Stadium, which opened in 2009. Seattle's Russell Branyan did it in August last year.
In the eighth, Allen hit a line shot off Hector Noesi into the second deck in right after striking in his two previous at-bats.
It was Allen's first two homers with the A's and first multihomer game of his career. Three of his five hits with Arizona were home runs before he was sent to Oakland in a July 31 trade.
Sogard connected in the third for the type of drive that frustrates many opposing teams in the Bronx, a flyball that barely cleared the wall in right, 314 feet from home plate. It was his first big league homer.
Colon gave up five runs for the second straight start. He got the loss in Kansas City on Wednesday and has not won since July 30, a span of four starts.
NOTES: Starting with July 9, the day he reached 3,000 hits, Jeter is batting .367 (55 for 150). ... The A's traded 3B Kevin Kouzmanoff and cash to Colorado for a player or cash. Kouzmanoff, who has 82 homers and 345 RBIs in six big league seasons, was playing with Triple-A Sacramento since being demoted June 6. He was hitting .221 with four homers and 17 RBIs with Oakland in 46 games. When asked about the move, manager Bob Melvin said he hadn't heard the news. ... CC Sabathia (17-7) faces Trevor Cahill (9-12) Wednesday. With a win Sabathia would become the fifth Yankees pitcher to win 18 games in three or more consecutive seasons and first since Vic Raschi did it in four straight from 1948-51. He will also be the first pitcher to do it in his first three seasons with the club since Jack Chesboro in 1903-06, the franchise's first four seasons in New York.