ST. PETERSBURG — The Tampa Bay Rays erased a two-run deficit with a four-run eighth inning to beat the Baltimore Orioles 5-3 at Tropicana Field, completing their MLB-leading sixth sweep of the season and improving to 33-15 — the best record in baseball.

The victory extended Tampa Bay’s winning streak to four games. The Rays have won eight of their last 10 and 21 of 25, a 21-4 mark that is tied for the best over any 25-game span in franchise history, matching a stretch from Aug. 8 to Sept. 4, 2020.

“Everyone was saying it just feels like a game where we’re going to come back and win,” veteran starter Steven Matz said. “It just feels like every night, it’s someone different, and it’s so much fun.”

The decisive rally started with two outs in the eighth when Junior Caminero singled to right field, sending speedster Chandler Simpson to third. Oliver Dunn, acquired in a trade with the White Sox late Tuesday night and called up Wednesday morning, entered as a pinch-runner at first. That brought up Jonathan Aranda, the American League leader in RBIs with 37, who laced a two-run double to right-center to tie the game.

“I was really concentrated going into it, obviously. You know this is kind of the at-bat of the game for me, so I had to be prepared,” Aranda said through interpreter Kevin Vera. “I was thinking, you know, ‘This is the one I’m going to be thinking about all day, so I’ve got to come through.’”

Manager Kevin Cash said Aranda was the right man for the moment. “Jonny’s probably the right guy to come up there with guys on base, game on the line,” Cash said. “We’ve got a bunch of guys that are coming through in those moments right now. Things are going well.”

Ryan Vilade followed with a walk, and Richie Palacios swatted a 3-0 fastball to right field for a tiebreaking single. “I took a swing, it hit the barrel, and then I didn’t know where the ball went,” Palacios said, smiling. “I looked straight up, and then I just heard everyone screaming, so I just started running, and then I saw it in right field. So, thankfully, that landed safely.” Vilade then scored on a delayed double-steal — a play Cash acknowledged was “risky” — to push the lead to two. “Saw him coming up to throw and took off,” Vilade said. “Felt like Benny the Jet from The Sandlot. Kinda fun.”

Left-hander Ian Seymour closed with a perfect ninth inning, sealing Tampa Bay’s 13th come-from-behind win of the season. “It’s been the message all year, right?” Aranda said. “We’re not going to give up, no matter the situation, no matter the outs.”

Former Rays teammate Shane Baz kept Tampa Bay quiet for most of the afternoon, holding the lineup to two hits and one run while striking out six over six innings. The lone run off Baz was Hunter Feduccia’s first Major League home run, which came in his 71st big league game. “Finally got it done,” Feduccia said. “Felt like it’s been weighing on me a little bit, but it’s a lot of weight lifted off my shoulders, for sure.”

Matz allowed one run in four innings in his first start back from the injured list, and Jesse Scholtens surrendered two solo home runs over four innings of relief. “It’s a fun feeling, for sure. We’ve got a great group of guys,” Vilade said. “I love everyone in this locker room. Even going into the eighth down, I still felt like we were gonna win this game.”

The Rays head to Yankee Stadium for a weekend series against New York.