OAKLAND, Calif. (AP) — Mark Canha homered and Matt Chapman hit an RBI double to back Trevor Cahill, leading the Oakland Athletics past the New York Yankees 6-3 on Monday in a matchup between two teams in the AL wild-card race.

The A's jumped on CC Sabathia early and pulled within 3 1/2 games of New York for the first wild card.

Cahill (6-3) defeated the Yankees for the first time in seven career appearances, the only AL team he'd never beaten. The right-hander improved to 5-0 with a 1.09 ERA in nine home starts, striking out three to leave him one shy of 1,000 for his career. Cahill allowed four hits and three runs — two earned — in five innings.

Lou Trivino relieved Cahill and struck out the side in the sixth. Jeurys Familia issued consecutive two-out walks in the eighth but got out of it unscathed before Blake Treinen finished for his 36th save.

Luke Voit hit a two-run homer for New York, which welcomed back manager Aaron Boone to the bench after he served a one-game suspension Sunday.

Sabathia (7-6) retired Marcus Semien on a flyball before surrendering four straight singles and a bases-loaded walk to Matt Olson as the A's went ahead 3-1.

New York answered right back on Voit's seventh home run that came on a 3-2 pitch.

The lefty, pitching back home in the Bay Area, was done after Semien's one-out double in the fourth for his second-shortest outing of 2018. With just one victory in his past nine starts, Sabathia allowed four earned runs and seven hits with four strikeouts and two walks.

Oakland has won six of the last eight meetings with the Yankees.

BIG STEP FOR JUDGE

Yankees slugger Aaron Judge took his first swings off a tee since breaking his right wrist July 26, a significant early step in what he hopes is a return to the field for New York in a couple of weeks.

Judge, the reigning AL Rookie of the Year, took 25 dry swings Monday in Oakland's center-field cage before taking another 25 off the tee at what he called 100 percent effort. He said he felt good enough in recent days and without pain that the decision was made he would begin hitting again.

"Just moving in the right direction. Definitely a big step," Judge said, sitting in the Oakland Coliseum dugout. "I'm kind of on track with what we kind of wanted to accomplish, so I'm excited about the progress we're making so far. It feels good. So I've just got to keep moving forward, keep having good days and just keep kind of building off that. Hopefully ramp it up here in the next couple days and be back out there soon."

Judge could take live batting practice as soon as this weekend.

BACK IN THE BAY

New Yankees right fielder Andrew McCutchen received warm applause after his lineup introduction. He arrived in the Bronx on Friday, played for his new club all weekend then returned right back to the Bay Area where he'd been with the Giants.

McCutchen led off the game with a single, stole second, reached third on catcher Jonathan Lucroy's error and scored the game's first run.

TRAINER'S ROOM

Yankees: SS Didi Gregorius, sidelined with a bruised left heel he hurt Aug. 19 in a collision with Toronto's Kendrys Morales beating out an infield single, is set to run the bases Tuesday and Boone said he is "very close to a return." ... New York outrighted OF Shane Robinson and LHP Ryan Bollinger to Triple-A Scranton/Wilkes-Barre.

Athletics: LHP Brett Anderson (strained pitching forearm) is slated to throw off a mound Wednesday. ... The A's acquired RHP Aaron Brooks from the Brewers for cash and designated LHP Danny Coulombe for assignment.

UP NEXT

J.A. Happ (15-6, 4.00 ERA) starts Tuesday night and is 5-0 with a 3.38 ERA over six starts since joining New York from the Blue Jays before the trade deadline. Oakland had yet to name a starter for the middle game of the series.

___

More AP MLB: https://apnews.com/tag/MLB and https://twitter.com/AP_Sports