OAKLAND, Calif. — Mark Trumbo hit a home run for the third consecutive day, Howie Kendrick and Mike Trout also homered, and the Los Angeles Angels ended a four-game losing streak, beating the Oakland Athletics 5-4 on Wednesday.

C.J. Wilson (3-0) remained undefeated despite walking a season-high five hitters. He allowed two runs on six hits in 6.1 innings. Wilson struck out five and stranded six Oakland runners in scoring position.

Josh Donaldson, Nate Freiman and Luke Montz each had an RBI double for the A’s, who had a three-game winning streak snapped. Adam Rosales also drove in a run.

Tommy Milone (3-3) gave up four runs on seven hits over seven innings. He did not walk a batter and matched his career high with 10 strikeouts.

Kendrick gave the Angels a 1-0 lead when he homered over the center field fence with two outs in the second.

Trout led off the sixth with a home run and Trumbo hit another one out later.

Trout tripled to center and scored on Luis Pujols’ sacrifice fly in the eighth to make it 5-2.

YANKEES 5, ASTROS 4: In New York, Robinson Cano homered and Eduardo Nunez scored the tiebreaking run after a sixth-inning double for the Yankees.

Ben Francisco hit his first home run for New York, and three relievers supplied spotless work after fill-in starter David Phelps wasted a four-run lead.

With the score tied 4-all, Nunez doubled down the left-field line against Paul Clemens (1-1) to begin the sixth. Nunez advanced on a wild pitch and, with one out and runners at the corners, Wesley Wright was brought in to face Ichiro Suzuki, who put the Yankees ahead with a groundout.

Twins 6, Tigers 2: In Detroit, Scott Diamond pitched six solid innings, and the Minnesota Twins got to Anibal Sanchez early to snap the Tigers’ five-game winning streak.

Sanchez (3-2) was coming off a 17-strikeout performance against Atlanta, and he fanned five in the first two innings against the Twins. But Minnesota scored two runs in the first and another in the second.

Red Sox 10, Blue Jays 1: In Toronto, Clay Buchholz pitched seven shutout innings to earn his major league-leading sixth win, and Mike Napoli hit two of Boston’s five home runs.

Stephen Drew hit a two-run shot in the second inning and Napoli went back-to-back with Daniel Nava in the fourth for the Red Sox.

Buchholz (6-0) allowed two hits, walked three and struck out eight, improving to 7-0 in his past eight starts at Toronto.

White Sox 5, Rangers 2: In Arlington, Texas, Conor Gillaspie and Alejandro De Aza homered in the seventh inning for the Chicago White Sox.

Chris Sale (3-2) settling down after a rough second inning to make it through seven. The left-hander struck out seven and walked two.

Royals 9, Rays 8: In Kansas City, Mo., Elliot Johnson homered against his former team, and the Royals rallied from an early five-run deficit.

Lorenzo Cain and Jeff Francoeur each drove in a pair of runs for the Royals, who trailed 5-0 in the third inning before slowly chipping away.

They eventually pulled ahead with a five-run sixth off Rays reliever Jake McGee (0-2).

Interleague

INDIANS 6, PHILLIES 0: In Cleveland, Ryan Raburn tied a career high with four hits, and Trevor Bauer allowed one hit in five strong innings for his first AL win.

Raburn drove in two runs with a single in the third and a double in the fifth. He has 12 hits in his past 14 at-bats with four homers and nine RBIs.