ST. PETERSBURG, Fla. -- Hiroki Kuroda got a couple extra days between starts and it looked as if it paid off.
"I was able to physically get refreshed as well as mentally," Kuroda said through a translator.
"He had everything in his arsenal today," New York manager Joe Girardi said of Kuroda, who lasted just 4 2/3 innings in his previous start.
New York has won two in a row after losing five straight.
"We won our last two, and hopefully go home and win five or six and keep on going," Gardner said.
Jeremy Hellickson (1-2) didn't allow a hit until there were two outs in the fifth.
After a walk to Stephen Drew, Martin Prado doubled and Gardner followed with a two-run single. Jacoby Ellsbury, hitless in his previous 17 at-bats during a five-game road trip, made it 3-1 with an RBI single on New York's fourth straight hit.
"The walk to Drew really set the game the other way," Rays manager Joe Maddon said.
Hellickson made his sixth start after right elbow surgery in January. He left after the fifth.
Mark Teixeira reached 20 homers for the 11th time in his career with a solo shot in the Yankees eighth. The slugger tied Joe DiMaggio for 80th place on the all-time list with 361.
Evan Longoria had two RBIs for the Rays. He hit a run-scoring grounder in the first and drove in Joyce with a seventh-inning single that pulled Tampa Bay within 3-2.
Prado also made several strong defensive plays at second base during Kuroda's long run of consecutive outs.
Tampa Bay had its club record of holding opponents to three runs or less end at 12 consecutive games. The Rays were just 7-5 over the stretch.
"That's like mid-'60s baseball," Maddon said. "We'd like to take a little more advantage than 7-5."
Yankees: Derek Jeter was the DH for the second straight game and sixth time this season. Jeter fouled a ball off his lower left leg Saturday, but Girardi said giving Jeter a break from the turf at Tropicana Field was behind the decision. ... C Brian McCann was hitless in four at-bats in his return after missing six games with a concussion.
Joyce is 9 for 23 with three homers off Kuroda, which is something the right-hander has taken notice of.
"If I knew what causes it, I'm sure I'd be able to get him out," Kuroda said. "That's something that I have to take home and study."
Rays: Tampa Bay and Detroit begin a three-game series Tuesday night at Tropicana Field. Former Rays ace David Price is scheduled to face Tampa Bay for the first time Thursday.
World Series 2021: The best hitting and pitching tools in the Astros-Braves Fall Classic
Is Yordan Alvarez the biggest bat in the World Series? With Charlie Morton out, who's got the nastiest curveball? Kiley McDaniel has the definitive list.
World Series 2021: Dusty Baker makes these Houston Astros about so much more than a scandal
Hate Houston if you want. But as one of Dusty Baker's former players, I know there's so much to love about its manager.
Atlanta Braves' Game 2 starter Max Fried says he's 'not against' pitching Game 5 on short rest
Atlanta's Game 2 starter said, "We'll see how I feel over the next couple days," as the Braves look at pitching solutions in the wake of Charlie Morton's broken leg.
Jose Altuve breaks out to help Houston Astros tie up World Series against Atlanta Braves
Jose Altuve scored the first run of the night, then tallied the final one on a home run that moved him into a tie for second in postseason homers, as the Astros evened the World Series against the Braves.
How the Astros were able to rebound in Game 2
Eduardo Perez and Tim Kurkjian detail how Jose Urquidy, Jose Altuve and the Astros were able to get the win in Game 2.
Astros bounce back with Game 2 win to even series
The Astros score four in the second, and Jose Altuve adds a home run to level the series at one game apiece.