Carlos Beltran, Alfonso Soriano and Kelly Johnson also connected as the Yankees scored all their runs on homers. Lackey was tagged for a career-high four home runs in 5 2-3 innings.
New York has won two of three in a series that wraps up Sunday night.
A.J. Pierzynski hit his first home run for the Red Sox.
After striking out in the first inning and dropping his batting average to .158, McCann quickly reversed his fortunes. The seven-time All-Star who left Atlanta to sign an $85 million, five-year deal with the Yankees led off the fourth with a liner into the first row of the second deck in right field.