ST. PETERSBURG, Fla. — Cody Ross helped the Boston Red Sox rebound from a frustrating loss.

Ross homered and drove in four runs, Felix Doubront won his third consecutive start, and the Red Sox beat the Tampa Bay Rays 5-3 on Thursday night.

“I was going after this game tonight,” Boston Manager Bobby Valentine said. “The guys really wanted this game, and I was just going to do everything we could to win it. Just frustration (from Wednesday’s loss), and we wanted to get back into the winning ways.”

The Red Sox were beaten 2-1 on Wednesday. The Rays’ go-ahead run scored when Ross, in right field, had problems with the Tropicana Field roof and had to backpedal to catch Luke Scott’s shallow sacrifice fly.

Ross extended Boston’s lead to 5-2 Thursday on a two-run single off reliever Wade Davis with two outs in the eighth.

“Cody was big,” Valentine said. “Cody will give you everything he has, and it’s enough for me.”

Doubront (4-1) allowed two runs and six hits over 5 2⁄3 innings. The left-hander was hit on the ear by a ball during batting practice Tuesday and cleared one day later to make his scheduled start.

Matt Moore (1-4) gave up three runs and five hits in six innings for Tampa Bay, which had its four-game winning streak snapped.

“I thought he finished really strong,” Tampa Bay Manager Joe Maddon said. “That’s definitely a game to build off. He definitely pitched well enough to win. Confidence is a big thing. I know he’s going to sleep better. Despite the loss, he’s going to feel better about himself. That’s just a right step in the right direction.”

Moore retired his last 10 batters. He struck out eight and walked one.

Alfredo Aceves, the fifth Boston reliever, got four outs for his eighth save. He allowed B.J. Upton’s RBI single with two outs in the eighth.

After falling behind in the count 0-2, Ross worked a bases-loaded walk off Moore to put the Red Sox up 1-0 in the first. Moore avoided further damage by striking out Daniel Nava to end the inning.

Boston went ahead 2-0 on Marlon Byrd’s second-inning homer. Ross made it 3-0 with his seventh homer, on an 0-2 pitch with two outs in the third.

Jeff Keppinger got the Rays within 3-1 on an RBI single in the third.

Rich Thompson, who has played in 1,388 minor league games, cut the Tampa Bay deficit to 3-2 with his first big league hit, a run-scoring single in the fourth.

The Rays loaded the bases later in the fourth with two outs, but Luke Scott hit a hard liner that was caught by first baseman Adrian Gonzalez.

Boston shortstop Mike Aviles was ejected in the seventh by plate umpire Dan Bellino for arguing after striking out. It was his first career ejection.

“Guys had complaints tonight and I was with them,” Valentine said. “We’ve got to fight through it, that’s for sure. We’re trying our hardest, and I think they’re trying their hardest, too.”

NOTES: Valentine said DH David Ortiz will play first base and Gonzalez will move to right field for at least one game of this weekend’s interleague series at Philadelphia. … Daisuke Matsuzaka had his longest rehab start for Triple-A Pawtucket on Thursday night, but allowed five runs – four earned – in 6 2⁄3 innings of a 5-0 loss to the Durham Bulls.

Only subscribers are eligible to post comments. Please subscribe or to participate in the conversation. Here’s why.

Use the form below to reset your password. When you've submitted your account email, we will send an email with a reset code.