– The Associated Press

ST. PETERSBURG, Fla. – The surging Boston Red Sox never doubted themselves.

Adrian Beltre homered twice and David Ortiz went deep again Wednesday night, keying an 11-3 victory and three-game sweep of the Tampa Bay Rays that’s tightened the standings in the AL East.

“We’re playing well. Our pitching is doing great. We’re producing as hitters,” Ortiz said. “That’s how you win games.”

Beltre, batting .516 over his past eight games, matched a career high with six RBI and finished a double shy of the cycle after his ninth-inning triple helped put the game out of reach.

Ortiz, who batted third for the first time in a year, homered for the sixth time in his last 11 games and ninth time this month.

“We know we’re good. We just have to sustain it over 162 games,” second baseman Dustin Pedroia said after Boston won for the eighth time in nine games to improve to a season-best six games over .500 (27-21) after struggling much of April.

“We started out real slow and everybody kind of panicked,” Pedroia said. “We have confidence we’re going to win a lot of games, and hopefully the way we’re playing will continue for a long time. We’re still climbing. We’re letting everybody know we’re not going anywhere.”

The Rays, who have baseball’s best record at 32-15, aren’t surprised.

“They’ve got a lot of good things going on, too,” Tampa Bay Manager Joe Maddon said. “They’re not going away. We’re not going away. The Yankees aren’t going away. Toronto’s still playing well. It’s a tough division.”

Boston has gone 23-12 since being swept by the Rays in four games at Fenway Park from April 16-19. Tampa Bay, whose three-game losing streak matches its season high, is 22-12 since then.

“It was nice to contribute and make sure we get the sweep against the team that’s in front of us,” Beltre said. “It was huge. We remember that they did the same to us at our home.”

Beltre hit a solo homer off Matt Garza (5-3) in the second inning, and his three-run shot off Garza made it 4-1 in the third.

Ortiz’s ninth homer in May was a two-run shot that increased the lead to 6-2 in the fifth. He has 23 RBI this month after driving in just four in April.

Meanwhile, John Lackey (5-3) allowed two runs over 61/3 innings. The Rays were 2 for 25 with runners in scoring position in the series, including 1 for 13 against Lackey, who gave up two runs and eight hits. No. 9 hitter Reid Brignac drove in both runs off Lackey.

Garza, who pitched eight shutout innings during a 7-1 victory over the Red Sox at Fenway Park last month, allowed a season-high six runs and five hits in five innings, matching his shortest outing of the year.

“There are certain things we’ve been doing well that we did not do well the past three days,” said Maddon, noting the Rays’ deficiencies in situational hitting and starting pitching in two of the three games.

“They got the outs they needed,” Maddon added. “We did not.”

The Rays roughed up Lackey during their four-game sweep in Boston, scoring eight runs off the right-hander over 31/3 innings. With some timely hitting, they might have been able to get the best of him again.

Instead their offensive woes continued with Lackey repeatedly working out of jams. Brignac grounded out in the second to drive in Tampa Bay’s first run, then slapped a single to left-center field to trim Boston’s lead to 4-2 in the fourth.

Hideki Okajima got two outs in the seventh. Ramon Ramirez pitched a perfect eighth before Joe Nelson gave up a solo homer to Ben Zobrist in the ninth.

Beltre’s two-run triple off Lance Cormier was the big blow in Boston’s five-run ninth. Jeremy Hermida had an RBI single and Darnell McDonald added a two-run double.

OUTFIELDER JACOBY Ellsbury was out of Boston’s lineup for the second straight game because of soreness in his left side.