NEW YORK -- Playing in prime time on national television against an AL East rival, the big names in the middle of Boston's lineup delivered.
David Ortiz hit his 450th homer, a colossal three-run drive, and Dustin Pedroia had three RBIs during his second consecutive three-hit game to lead the Red Sox over the New York Yankees 8-5 Sunday night.
"To get to where we want to be, those guys are going to have to drive the bus," winning pitcher John Lackey said. "You need the parts to do well, too, but they're kind of the engine that runs this thing."
Lackey (9-5) labored through five innings before four Red Sox relievers pitched shutout ball the rest of the way. Held to two runs in the first two games of the series, Boston took two of three anyway, to finish a 4-6 road trip and improve to 6-13 away from home this month.
"Anytime you win a series on the road, particularly against a team that's ahead of us, these are key," manager John Farrell said.
Rookie right-hander Chase Whitley (3-2) struggled for the second straight start and allowed five runs and eight hits in four-plus innings, as six New York pitchers combined for eight walks.
"You're behind in the count, you're walking people and giving them extra baserunners -- it usually leads to damage," Yankees manager Joe Girardi said.
Koji Uehara worked a perfect ninth for his 18th save in 19 attempts.
After averaging 2 hours, 45 minutes, in the first two meetings this weekend, the longtime rivals were back to their usual plodding ways in a game that took 3:38.
Pedroia made a diving play at second base to limit a Yankees rally, and center fielder Jackie Bradley Jr. threw out Beltran at the plate to keep the score 8-5 in the sixth. It was Bradley's ninth assist of the season.
"Changed the momentum of the game," Farrell said.
Pedroia bounced a hit-and-run single through the right side in the third, and Ortiz was booed by the sellout crowd of 48,124 as he stepped to the plate. The slugger answered with a long drive well into the raised bleachers in right-center to make it 4-0.
Ortiz tossed his bat aside and took his time on a wide trot around the bases and saluted his family in the stands as he approached third base.
"My son, he always enjoys watching daddy go deep. He was dancing," Ortiz said.
The home run put Big Papi in sole possession of 37th place on the career list, two behind Adam Dunn and Red Sox Hall of Famer Carl Yastrzemski.
"Pretty cool," Ortiz said.
Handed a comfortable cushion, Lackey grew frustrated and shook his head as Brett Gardner and Derek Jeter fouled off pitch after pitch in the third. They combined to see 21 pitches in consecutive at-bats, and Lackey screamed, cursed and gestured wildly when Jeter grounded an RBI single to right.
"That's going to take its toll," Farrell said.
Perhaps worn down a bit, Lackey gave up solo homers to Teixeira and Beltran in the fourth, which cut it to 4-3.
Whitley and reliever Shawn Kelley threw 10 straight balls to begin the fifth and combined to walk the bases loaded with none out. Pedroia blooped a two-run single and later stayed in a rundown long enough for Daniel Nava to score from third.
"I'm most frustrated with the pitch to Ortiz, obviously, and the walk to Bradley that set up the fifth. That was unacceptable," Whitley said.
Ichiro Suzuki tripled to spark a two-run rally in the bottom half. He scored on Gardner's double.
Pedroia's sacrifice fly made it 8-5 in the sixth.
Touted prospect Mookie Betts made his major league debut for Boston in right field. With his parents and fiancee in the stands, the 21-year-old Betts grounded into a double play his first time up but singled in the fourth for his first hit.
Jeter tossed the souvenir ball to a Red Sox bat boy, and Betts was promptly caught stealing.
"It was great," Betts said, acknowledging he felt some jitters during his first at-bat. "I'm not one to put any extra pressure on myself."
Rookie SS-3B Xander Bogaerts, in a 2-for-35 slump, was left out of the Red Sox lineup. ... Boston is 27-26 at the current Yankee Stadium, the best winning percentage for any visiting AL team. ... Red Sox RHP Jake Peavy (1-6, 4.93 ERA) starts Monday night at Fenway Park against Cubs RHP Jake Arrieta (4-1, 2.05). ... Before this weekend, the most recent time the Yankees and Red Sox played consecutive games in 2:47 or less was April 2001.