"A little bit of the swagger is back," Tampa Bay manager Joe Maddon said.
The Red Sox lost their fourth consecutive game.
"Wonderful once again," Maddon said.
This was Price's first game against Boston since he hit David Ortiz with a fastball May 30, setting off a verbal skirmish between the stars.
There was no trouble between them this time as Ortiz returned to the lineup one day after leaving a game because of back spasms.
"It's feeling better," Ortiz said. "After what we did last night and today when I got up and took some medication, it felt much better."
Ortiz had words with plate umpire Bill Miller during an early strikeout, then hit an RBI single in a two-run sixth for a 3-2 Red Sox lead.
"It definitely felt good," Price said of striking out Ortiz. "He's a tough out always."
Price has pitched at least eight innings in eight of his past nine starts.
"We've won some games and we've done some things that kind of remind us of what we're capable of, but by no means are we where we want to be," Longoria said. "We've got a lot of work to do."
Tampa Bay improved to three games under .500 for the first time since May 6.
Jake McGee gave up a run in the ninth but got his 10th save.
Lester gave up two runs and six hits in six innings. He had allowed just one earned run over 31 innings in his previous four starts.
"We made David work pretty hard, but he was able to get a lot more early-out counts than I was, and that's why he was able to go a couple more innings," Lester said.
The crowd greeted Ortiz with sustained booing before his first at-bat in the first. The fans then gave Price a partial standing ovation after Ortiz took a called third strike.
"Our fans were pretty hot," Maddon said. "They came out with a little attitude. We dug it."
Shane Victorino connected in the second for the 20th home run allowed this season by Price. Victorino also singled home Ortiz in the sixth.
Zobrist had infield singles in each of his first three at-bats. ... Rays OF Wil Myers (broken right wrist) hopes to take batting practice in four or five days. He could return in mid-August. ... Tampa Bay reliever Joel Peralta (illness) could come off the DL early next week. He will pitch for Class A Charlotte on Saturday. ... Rays C Ryan Hanigan (left oblique strain) ran the bases after defensive drills. ... Boston C Ryan Lavarnway (wrist) was sent to Triple-A Pawtucket to continue his rehab assignment. ... Tampa Bay plans to recall RHP Jeremy Hellickson (elbow surgery) from Charlotte to make his second big league start of the season Saturday night. The Red Sox will counter with RHP John Lackey.
Roark, Blue Jays will have hands full with explosive Rays
The Tampa Bay Rays have grown accustomed to lighting up the scoreboard, and they look to do so again on Friday when they begin a three-game series versus the Toronto Blue Jays in Buffalo, N.Y.
Sources: Oakland A's OF Ramon Laureano sees suspension cut to 4 games
Ramon Laureano's six-game suspension has been cut to four games after the A's outfielder appealed his penalty for charging at the Astros' bench.
Astros activate Yordan Alvarez off injured list
Astros slugger Yordan Alvarez, who hit .313 with 27 home runs and 78 RBIs in 87 games en route to being the AL Rookie of the Year last season, has been activated off the injured list.
Toronto Blue Jays fans find unique ways to celebrate MLB return to Buffalo
With Sahlen Field fully outfitted for the occasion, Buffalo-area baseball fans welcomed their new home team from whenever they could find.
With unmatched size and power, Aaron Judge is becoming the face of baseball
Take a look back at some of Aaron Judge's biggest moments as the Yankees' 6-foot-7 slugger cements himself as one of the game's most recognizable players.
New York Yankees slugger Aaron Judge is everything MLB could want in a superstar
The Yankees slugger will be front and center in baseball's push for more fans -- as long as he's healthy enough to stay on the field.