BOSTON -- Alex Rodriguez heard the jeers of the fans, then shut them up.
"I heard some, but it's always in good fun," he said after his solo shot through the rain off Jonathan Papelbon gave New York a 6-5 win Sunday night and the rubber game of the series. "I think the Boston fan always has a lot of fun and I appreciate that. It's not a big deal."
Yankees manager Joe Torre thinks it may have been a bigger deal than Rodriguez let on.
"It's got to take some of the sting out of it, I would think," Torre said. "Obviously, when you're dealing with a personal situation, it's more than just a game at that point."
On Friday night, many Red Sox fans held masks picturing a blond-haired woman in front of their faces -- a reference to photos published last week of the married Rodriguez with a blonde woman in Toronto.
On Sunday night, they yelled loudly as he settled under a popup four days after he said something as he passed between -- and angered -- two Blue Jays infielders, causing one of them to back off and let the ball drop.
And in the ninth, he fell behind 0-2 to Papelbon (0-1), who had easily retired the first two batters. But A-Rod lined the next pitch into the Red Sox bullpen in right-center, giving him 20 homers for the 12th straight season.
"I'm not trying to do too much," he said. "The last thing on my mind is to hit a home run."
He continued his outstanding ninth-inning hitting, improving to 7-for-15 with four homers and 11 RBI in the ninth inning this season.
"Next time I've got to get him to chase a pitch outside the (strike) zone," Papelbon said.
The Yankees' comeback from a 5-4 deficit kept them out of last place in the AL East and left them 12½ games behind the first-place Red Sox.
"It's important what we do after this," Rodriguez said before the Yankees headed to Chicago to face the White Sox. "We were in a must situation where we needed to win this series against a good team. (Now) we've got to back it up."
Brian Bruney (2-1) got the win and Mariano Rivera earned his fifth save -- just his second since May 3. David Ortiz opened the ninth with a drive to deep right that was caught on the warning track. He has not homered in 19 games and 69 at-bats, his longest drought in five seasons with the Red Sox.
"He keeps swinging, I'm going at him," Rivera said. "He's just got to hit the ball out of the park. That's the way I pitch."
Boston starter Josh Beckett, trying to improve to 9-0, allowed four runs and eight hits in 6 1/3 innings.
"I felt like I had good stuff," he said, but "I had a lineup full of guys over there that take a lot of pitches."
The Yankees tied it 5-all in the eighth after Boston went ahead 5-4 with five runs in the fifth.
Yankees starter Andy Pettitte had allowed just two singles and was leading 4-0 heading into the bottom of the fifth but left with lower back pain in that inning. He doesn't expect to miss his next start.
"I knew something was a little tight back there and that was a pitch I needed to throw everything I had behind it," said Pettitte, who first felt the stiffness in the third inning.
Torre and trainer Gene Monahan rushed to the mound after Lugo struck out and Pettitte stayed in the game -- but not for long. He threw just three more pitches.
On a 1-0 count, Dustin Pedroia cleared the bases with a three-run double off the left-center wall into a stiff wind.
Ortiz hit the next pitch for a sinking liner in front of Bobby Abreu. It bounced past the right fielder and, by the time he chased the ball down and fired it back to the infield, Ortiz was on third with a single and a two-base error. Pedroia had scored the tying run and Pettitte's night was over.
Abreu made up for his mistake with a backhand catch in deep right-center on a drive by Pedroia to save a run in the eighth.
Derek Jeter cut down Lugo trying to score on Pedroia's double in the sixth. He took Matsui's throw from left field and fired high to Jorge Posada, but the catcher blocked a sliding Lugo from reaching the plate before the tag.
Boston manager Terry Francona argued animatedly with plate umpire Chris Guccione, but said, "from what I understand, he's right."
The Yankees took a 4-0 lead on Josh Phelps' RBI single in the second and three runs in the fifth. With the bases loaded, Rodriguez hit an infield single to third baseman Mike Lowell, who threw the ball wildly to first for an error as two runs scored. Jorge Posada followed with an RBI single.
- Pedroia had two doubles and extended his hitting streak to 13 games.
- Phelps went 2-for-4 while replacing injured Doug Mientkiewicz at first base.