NEW YORK -- Waiting well past midnight for a clutch hit -- any hit, really -- Alex Rodriguez provided a big one.
"Both teams were remarkable," Rodriguez said. "It was a heavyweight fight, and we were fortunate to have the last hit."
Once the game entered the 15th it became the longest scoreless matchup between the longtime rivals. Rodriguez's two-out homer came at 12:42 a.m., off Boston's eighth pitcher, Junichi Tazawa, who was making his major league debut.
A day after the Yankees bashed Boston and John Smoltz 13-6 in a game that ended testily, New York's A.J. Burnett and Josh Beckett of the Red Sox set the tone -- then both remained in the dugout for remainder of the 5-hour, 33-minute game with Burnett administering one of his whipped-cream pies to Rodriguez.
Burnett allowed a leadoff single and five relievers finished the four-hitter in the first Boston-New York game to go into extra innings scoreless since 1976.
"This would've been a very hard game to lose," Yankees manager Joe Girardi said. "Nobody left. It just shows the importance of the game."
Derek Jeter singled to lead off the 15th against Tazawa (0-1), who was signed out of a Japanese industrial league and called up Friday after the Red Sox cut Smoltz. After two outs, Rodriguez lined a shot into the bullpen in left-center giving New York its 10th walkoff win of the season.
It was Rodriguez's first homer since July 19, his season worst homerless drought of 72 at-bats. He was 1 for 6 before connecting.
"As far as making my major league debut, I'm very happy. I was honored to be in such an important situation," Tazawa said through a translator. "I wish I could have done a little better."
The Yankees' fifth straight win touched off a raucous celebration on the field and in the stands as many of the 48,262 fans at the new ballpark remained as a tense game breezed past midnight.
Phil Coke (3-3) pitched the 15th inning for the win that gave New York a 4 1/2-game lead over Boston in the AL East.
The Red Sox, who have lost four in a row, gave the crowd a scare in the 14th when Victor Martinez hit a high-arcing drive that Eric Hinske caught just in front of the wall in right field, eliciting a collective sigh from the crowd. One batter later, Kevin Youkilis lined a single to left for the first hit since the 10th inning, touching off a modest "Let's Go Red Sox!" chant.
"It was a tough night offensively," Boston manager Terry Francona said. "It was a tough night for them, too."
Jeter came through after going hitless in his first six at-bats and failing in three opportunities with runners on third -- twice against Beckett. Boston's Dustin Pedroia lazily flied out three times with runners on base and Martinez was 0 for 6. The teams combined to go 0 for 19 with runners in scoring position.
"It was a really weird night," Pedroia said. "It's not like we're not trying."
Former Florida Marlins teammates Burnett and Beckett matched zeros, each refusing to bend to All-Star lineups.
On his third try against Boston -- matching up against Beckett each time -- since signing an $82.5 million, five-year free-agent deal, Burnett finally proved his value against the Yankees' chief rivals. He gave up 11 runs in his first two starts against them. On Friday, Burnett walked six but struck out six 7 2/3 innings. Beckett gave up four hits and struck out seven in seven innings.
Beckett has been a stabilizing ace in a Boston rotation missing Daisuke Matsuzaka and Tim Wakefield to injuries and is now without Smoltz, who was designated for assignment earlier Friday. He walked two and threw 115 pitches, and played cheerleader from the top step of the dugout right to the end.
The Red Sox also designated LHP Billy Traber for assignment and claimed infielder Chris Woodward off waivers from Seattle. ... Tawaza bowed to Hideki Matsui of the Yankees when he saw his idol during batting practice.
Fantasy baseball daily notes: Pitcher and hitter rankings for Saturday
Prepare your fantasy baseball lineups confidently with our daily preview, including pitcher projections, hitter matchup ratings and more.
Fantasy baseball forecaster: Pitcher projections for the next 10 days
Keep up to date on who is pitching -- and how well they're expected to do -- with our forecaster, which provides a rolling 10-day outlook of every team's probable starting pitchers with game score projections.
Ellis expected to start for the Orioles against the Rangers
Texas Rangers (56-98, fifth in the AL West) vs. Baltimore Orioles (49-105, fifth in the AL East)
Sampson scheduled to start for Chicago against St. Louis
St. Louis Cardinals (85-69, second in the NL Central) vs. Chicago Cubs (67-87, fourth in the NL Central)
Suarez scheduled to start as Philadelphia hosts Pittsburgh
Pittsburgh Pirates (57-96, fifth in the NL Central) vs. Philadelphia Phillies (80-74, second in the NL East)
Fedde scheduled to start for Nationals at Reds
Washington Nationals (64-90, fifth in the NL East) vs. Cincinnati Reds (79-75, third in the NL Central)