Michael Perez had an RBI single with two outs in the ninth inning and the Tampa Bay Rays rallied late to beat the New York Yankees 4-3 on Sunday.

Mike Brosseau started the ninth with a double off Zack Britton (0-1) but was thrown out at third on Brandon Lowe's grounder. Lowe advanced to second on a wild pitch before Manuel Margot walked.

More Images
Tampa Bay Rays pinch hitter Michael Perez celebrates his winning RBI off New York Yankees closer Zack Britton during the ninth inning of a baseball game Sunday, Aug. 9, 2020, in St. Petersburg, Fla. (AP PhotoSteve Nesius)

Michael Perez had an RBI single with two outs in the ninth inning and the Tampa Bay Rays rallied late to beat the New York Yankees 4-3 on Sunday.

Tampa Bay Rays' Brandon Lowe (8) and Jose Martinez (40) congratulate Michael Brosseau, right, after his two-run home run off New York Yankees starter James Paxton during the seventh inning of a baseball game Sunday, Aug. 9, 2020, in St. Petersburg, Fla. (AP PhotoSteve Nesius)

Brosseau and Lowe both homered in the seventh, when the Rays tied it at 3.

Tampa Bay Rays' Manuel Margot, left, congratulates Brandon Lowe, right, after Lowe's solo home run off New York Yankees starter James Paxton during the seventh inning of a baseball game Sunday, Aug. 9, 2020, in St. Petersburg, Fla. (AP PhotoSteve Nesius)

Yankees starter James Paxton took a one-hitter into the seventh before allowing a leadoff double to Jose Martinez. With one out, Brosseau hit a two-run homer, and two pitches later, Lowe had his solo shot.

New York Yankees starter James Paxton (65) walks the mound after giving up a solo home run to Tampa Bay Rays' Brandon Loew, top, during the seventh inning of a baseball game Sunday, Aug. 9, 2020, in St. Petersburg, Fla. (AP PhotoSteve Nesius)

The Yankees took a 3-0 lead in the fifth when Margot misplayed Gio Urshela's flyball on the warning track in center field for a three-base error with two outs that allowed two runs to score.

New York Yankees third base coach Phil Nevin, left, congratulates Gio Urshela, right, after two runs scored on an error by Tampa Bay Rays center fielder Manuel Margot during the fifth inning of a baseball game Sunday, Aug. 9, 2020, in St. Petersburg, Fla. (AP PhotoSteve Nesius)

Morton allowed one run and three hits in two-plus innings.

After both runners advanced on Willy Adames grounder to first, Perez lined a single to right as the Rays took three of four from the AL East leaders.

Tampa Bay Rays pinch hitter Michael Perez celebrates his winning RBI off New York Yankees closer Zack Britton during the ninth inning of a baseball game Sunday, Aug. 9, 2020, in St. Petersburg, Fla. (AP PhotoSteve Nesius)

Tampa Bay Rays pinch hitter Michael Perez celebrates his winning RBI off New York Yankees closer Zack Britton during the ninth inning of a baseball game Sunday, Aug. 9, 2020, in St. Petersburg, Fla. (AP PhotoSteve Nesius)

Brosseau and Lowe both homered in the seventh, when the Rays tied it at 3.

Ryan Thompson (1-0) worked a perfect ninth for his first major league win.

Rays starter Charlie Morton left with right shoulder inflammation after giving up a leadoff walk to Aaron Hicks in the third. The 36-year-old right-hander went 16-6 last year in his first season with Tampa Bay.

Tampa Bay Rays' Brandon Lowe (8) and Jose Martinez (40) congratulate Michael Brosseau, right, after his two-run home run off New York Yankees starter James Paxton during the seventh inning of a baseball game Sunday, Aug. 9, 2020, in St. Petersburg, Fla. (AP PhotoSteve Nesius)

Tampa Bay Rays' Brandon Lowe (8) and Jose Martinez (40) congratulate Michael Brosseau, right, after his two-run home run off New York Yankees starter James Paxton during the seventh inning of a baseball game Sunday, Aug. 9, 2020, in St. Petersburg, Fla. (AP PhotoSteve Nesius)

Yankees starter James Paxton took a one-hitter into the seventh before allowing a leadoff double to Jose Martinez. With one out, Brosseau hit a two-run homer, and two pitches later, Lowe had his solo shot.

Paxton gave up three runs and four hits and struck out 11 over 6 1/3 innings.

Tampa Bay loaded the bases with one out in the eighth and appeared to go up 4-3 when Hunter Renfroe was ruled safe at first on a potential double-play grounder. The Yankees challenged the call and it was overturned after a video review.

Tampa Bay Rays' Manuel Margot, left, congratulates Brandon Lowe, right, after Lowe's solo home run off New York Yankees starter James Paxton during the seventh inning of a baseball game Sunday, Aug. 9, 2020, in St. Petersburg, Fla. (AP PhotoSteve Nesius)

Tampa Bay Rays' Manuel Margot, left, congratulates Brandon Lowe, right, after Lowe's solo home run off New York Yankees starter James Paxton during the seventh inning of a baseball game Sunday, Aug. 9, 2020, in St. Petersburg, Fla. (AP PhotoSteve Nesius)

The Yankees took a 3-0 lead in the fifth when Margot misplayed Gio Urshela's flyball on the warning track in center field for a three-base error with two outs that allowed two runs to score.

Margot was reinstated from the coronavirus-related injured list before the game. He was required to undergo intake screening after going to the Dominican Republic following the death of his father.

The Yankees loaded the bases with one out in the first but scored just one run when Mike Ford was hit by a Morton pitch.

New York Yankees starter James Paxton (65) walks the mound after giving up a solo home run to Tampa Bay Rays' Brandon Loew, top, during the seventh inning of a baseball game Sunday, Aug. 9, 2020, in St. Petersburg, Fla. (AP PhotoSteve Nesius)

New York Yankees starter James Paxton (65) walks the mound after giving up a solo home run to Tampa Bay Rays' Brandon Loew, top, during the seventh inning of a baseball game Sunday, Aug. 9, 2020, in St. Petersburg, Fla. (AP PhotoSteve Nesius)

Morton allowed one run and three hits in two-plus innings.

DC REACTION?

The Rays designated Sean Gilmartin for assignment. He is married to White House press secretary Kayleigh McEnany. The lefty made one appearance this season, allowing three runs and five hits over 3 1/3 innings in Game 1 of Saturday’s doubleheader.

New York Yankees third base coach Phil Nevin, left, congratulates Gio Urshela, right, after two runs scored on an error by Tampa Bay Rays center fielder Manuel Margot during the fifth inning of a baseball game Sunday, Aug. 9, 2020, in St. Petersburg, Fla. (AP PhotoSteve Nesius)

New York Yankees third base coach Phil Nevin, left, congratulates Gio Urshela, right, after two runs scored on an error by Tampa Bay Rays center fielder Manuel Margot during the fifth inning of a baseball game Sunday, Aug. 9, 2020, in St. Petersburg, Fla. (AP PhotoSteve Nesius)

TRAINER’S ROOM

Yankees: OF Giancarlo Stanton was placed on the 10-day injured list with a left hamstring strain. He will have an MRI on Monday. ... Closer Aroldis Chapman (coronavirus) will throw to hitters on Tuesday.

Rays: RHP Oliver Drake was placed on the 10-day IL with right biceps tendinitis.

UP NEXT

Yankees: Host Atlanta on Tuesday night.

Rays: LHP Ryan Yarbrough (0-2) is the scheduled starter against Boston on Monday night in the first of four games at Fenway Park.

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