OAKLAND, Calif. -- Sure, Brandon Moss would like to have more than five hits in his past 40 at-bats. It's not so bad, though, considering all five have cleared the fences.
Moss hit his 10th homer of the season in the second inning and 11th with a solo drive in the eighth. He also connected twice April 29 against the Angels. Of his five hits over 40 at-bats in his past 19 games, all are home runs.
"Last year in Triple-A, I did it at exactly this time. I had three weeks straight where the only hits I had were home runs," Moss said. "I'll take that. It's not where I want to be, obviously. I'd much rather be getting hits also. I said it a long time ago, I've done it before where I've sacrificed power for hits. It still didn't turn out well. ... If you're able to contribute and drive in runs when you do connect, it's definitely better than taking your seat."
Moss' power stroke helped Dan Straily (4-2) win his third consecutive decision.
John Jaso added an RBI double and a run-scoring single for Oakland. The A's (40-27) won for the 20th time in 25 games and are off to their best start since 1990.
New York missed a scoring chance during an odd sequence in the seventh.
Jayson Nix hit a two-out RBI single and stole second. With Nix as the potential tying run, Lyle Overbay came out to pinch hit with a 1-0 count already against Austin Romine. A's manager Bob Melvin then made his own switch, to reliever Sean Doolittle.
Chris Stewart came on to pinch hit for Overbay, who never reached the batter's box but was credited for appearing in the game. Stewart struck out on a changeup to end the inning.
"I've never done that before. That was weird," Doolittle said. "I was like, 'What's going to happen here?' ... I didn't really know what was going on. I've never, in my short time as a pitcher, come in in the middle of a count like that."
Doolittle then pitched a perfect eighth before Grant Balfour finished for his 17th save of the season and 35th in a row dating to April 29, 2012. He retired Nix on a broken-bat comebacker to end it with runners on first and second.
Straily, coming off a pair of no-decisions, allowed two or fewer runs for the fourth time in five outings. He gave up two runs and three hits in 6 2/3 innings.
Oakland owns its longest unbeaten streak at home since another 10-game run from Aug. 11 to Sept. 1, 2006. The A's secured their first season series victory against the Yankees since going 4-2 in 2007.
"It was just a matter of time," Melvin said of Moss finding a groove. "He was such an instrumental part last year."
Hughes walked a season-high five and lost for the third time in four decisions. He allowed three runs on four hits and struck out three in 4 1/3 innings. He hadn't walked more than two batters all season.
The Yankees haven't hit a home run in a season-high five straight games -- the club's longest drought since also going five games from May 17 to 21, 2006.
"It's part of the game. You have to fight your way out of it," manager Joe Girardi said. "We know the guys are capable."
Yankees RHP Michael Pineda, working his way back from shoulder surgery 14 months ago, threw a 75-pitch bullpen session. He had been set to pitch in a minor league game this weekend but instead will throw a simulated game Friday at the team's complex in Tampa, Fla. "This way we can control it," Girardi said. "The other day he had one long inning. If Tampa would have been at home, he would have pitched in that game." ... A's CF Coco Crisp is nursing a bruised heel -- which happened sometime after his first-inning home run Tuesday and before his next at-bat -- and sat out after hitting home runs the previous two games. "He felt it when he got up this morning," Melvin said. "He felt better when he got to the park and got some treatment. We won't take any chances with him but if he comes in tomorrow and feels like he's close to 100 percent, there's the potential for him to play." ... A's LF Yoenis Cespedes also was sidelined because of tightness in his left hamstring that forced him to leave after the second inning Tuesday. ... RHP Jarrod Parker (5-6) pitches the series finale for the A's on Thursday afternoon opposite Hiroki Kuroda (6-5). ... Gardner failed to get a hit for just the third time in 19 games since May 24.