Boston Red Sox's Rafael Devers watches his RBI-single against the Tampa Bay Rays during the third inning of a baseball game Monday, Sept. 5, 2022, in St. Petersburg, Fla. (AP Photo/Scott Audette)

ST. PETERSBURG, Fla. (AP) — Manuel Margot and David Peralta each doubled home a run in the seventh inning, sending the Tampa Bay Rays to a 4-3 victory over the Boston Red Sox on Monday.

Tampa Bay stopped Boston’s five-game winning streak and stayed five games behind the first-place Yankees in the AL East. New York beat Minnesota 5-2 earlier in the day.

The Rays hold one of three AL wild-card spots in a tight race that also includes Seattle, Toronto and Baltimore.

With the Rays trailing 3-2 in the seventh, pinch-hitter Vidal Bruján was hit by a pitch from Jeurys Familia (2-2) and stole second. Bruján advanced on a groundout and scored on Margot’s double off Familia.

One out later, Peralta punched an RBI double over first base off Zack Kelly to give Tampa Bay a 4-3 lead.

Tampa Bay Rays second baseman Vidal Brujan, left, attempts a double play after forcing out Boston Red Sox’s Connor Wong, right, at second during the ninth inning of a baseball game Monday, Sept. 5, 2022, in St. Petersburg, Fla. Red Sox’s Alex Verdugo advanced to second on a wild throw. (AP Photo/Scott Audette)

Calvin Faucher (2-3) got the win in relief after striking out Trevor Story with the bases loaded in the seventh. Pete Fairbanks pitched the ninth for his fifth save in five attempts.

Margot and Peralta each had two of Tampa Bay’s nine hits to help the Rays win for the 12th time in 15 games.

Red Sox starter Michael Wacha struck out seven in his bid to win a fifth straight start. He gave up two runs on seven hits, leaving after six innings with a 3-2 lead.

Rays starter Luis Patiño, recalled Monday after making two starts for Triple-A Durham, pitched five innings, giving up three runs on five hits and three walks. Two of the walks proved costly, coming before RBI hits by Rafael Devers and Story in the third that gave the Red Sox a 3-1 advantage.

Alex Verdugo homered off Patiño, his ninth of the season, to put Boston up 1-0 in the first.

Harold Ramírez had an RBI single in the bottom half, and Randy Arozarena cut it to 3-2 with a run-scoring double in the fifth.

TRAINER’S ROOM

Red Sox: LF Franchy Cordero left in the fifth with a sprained right ankle after running into the wall chasing Arozarena’s double. … DH J.D. Martinez sat out a second straight game with a stiff back.

Rays: To open a roster spot for Patiño, the Rays designated RHP Matt Wisler for assignment. … Wander Franco (right hook of hamate fracture) was scheduled to play seven innings at shortstop in a rehab game for Triple-A Durham.

UP NEXT

Rays RHP Drew Rasmussen (9-4, 2.70 ERA) makes his first start of September on Tuesday night after being selected AL pitcher of the month for August. LHP Rich Hill (6-5, 4.52), who hasn’t allowed an earned run in 11 innings over two starts against Tampa Bay, will pitch for the Red Sox.