NEW YORK — Corey Dickerson hit a two-run homer, Matt Andriese won for the first time since June and the Tampa Bay Rays slowed the New York Yankees’ playoff charge by stopping their seven-game winning streak with a 4-2 victory Sunday.

Logan Forsythe and Brad Miller also went deep for the last-place Rays, who had lost three straight and 6 of 7. But they prevented a four-game sweep behind Andriese (7-7) and Chase Whitley, who tossed two innings of relief in his Tampa Bay debut after returning from Tommy John surgery.

Chase Headley homered and Brett Gardner had an RBI single among his three hits for the Yankees, who are four games behind first-place Boston in the AL East and two back of Baltimore for the league’s second wild card.

Whitley struck out his first batter, rookie slugger Gary Sanchez, and gave up an unearned run but retired Jacoby Ellsbury on an easy fly with two runners in scoring position to protect a 4-2 lead in the seventh. It was Whitley’s first major league outing since he started for the Yankees at Tampa Bay on May 14 last year.

INDIANS 7, TWINS 1: Corey Kluber struck out 10 in seven innings and Carlos Santana hit a three-run homer to help Cleveland win at Minneapolis.

Kluber (16-9) gave four hits while passing 200 strikeouts for the third straight season. Bob Feller, Gaylord Perry and Jack McDowell are the other Indians to do it.

ROYALS 2, WHITE SOX 0: Ian Kennedy and three relievers combined on a two-hitter, and Kansas City beat Chris Sale at Chicago.

ORIOLES 3, TIGERS 1: Chris Tillman pitched six impressive innings in his return from the disabled list, and Michael Bourn and Jonathan Schoop homered off Justin Verlander to lead Baltimore at Detroit.

ANGELS 3, RANGERS 2: Andrelton Simmons hit two solo home runs as Los Angeles won at Anaheim, California.

MARINERS 3, ATHLETICS 2: Ketel Marte hit a tiebreaking single in the ninth inning and Seattle won at Oakland, California, for its fifth straight win.

NATIONAL LEAGUE

METS 10, BRAVES 3: Yoenis Cespedes hit a grand slam, Seth Lugo won his fourth straight start and New York won at Atlanta.

MARLINS 3, DODGERS 0: Jose Urena pitched 82/3 innings of four-hit ball, leading Miami at home.

BREWERS 2, CARDINALS 1: Ryan Braun hit a solo home run in the ninth inning and Milwaukee won at St. Louis, dropping the Cardinals back in the NL wild-card race.

REDS 8, PIRATES 0: Tyler Holt and Brandon Phillips had three hits apiece, helping Brandon Finnegan and Cincinnati win at Pittsburgh.

NATIONALS 3, PHILLIES 2: Gio Gonzalez pitched seven sharp innings, Anthony Rendon doubled home the tiebreaking run and Washington won at home.

GIANTS 5, DIAMONDBACKS 3: Matt Moore struck out 11 in seven innings, Hunter Pence hit a key two-run double and San Francisco won at Phoenix for a series sweep.

ROCKIES 3, PADRES 2: Mark Reynolds homered leading off the 10th inning and Colorado won at San Diego to salvage a split of a four-game series.

INTERLEAGUE

CUBS 9, ASTROS 5: Jorge Soler and Addison Russell homered to lead Chicago at Houston.