He was working on a five-hit shutout when Middlebrooks smacked a two-out single in the seventh and scored on a double by Bradley. David Ross made a bid for a tying homer with a long drive to left-center that was caught just in front of the fence, near the 399-foot sign.
"He gave it a ride and Gardner makes a heck of a catch against the wall," Boston manager John Farrell said.
Cervelli greeted Clayton Mortensen with a leadoff homer in the seventh that made it 4-1.
Gardner and Cervelli hit their first homers since going back-to-back off Baltimore's Tommy Hunter on Sept. 6, 2011. Neither player spent much time on the active big league roster last season.
Eduardo Nunez, often a defensive liability, turned three double plays at shortstop and made a leaping grab to rob Shane Victorino of a leadoff hit in the fourth. Nunez also had two hits, including a key double.
Victorino tried to score from second base on a wild pitch in the first inning when Pettitte didn't cover the plate. Cervelli was slow and a little nonchalant in retrieving the ball, then scrambled back in time to tag Victorino as both players dove headfirst and banged into each other.
Victorino jammed two fingers on his throwing hand but remained in the game. He said he was fine, and Cervelli apologized to him the next time up.
NOTES: Ross singled in his first Red Sox plate appearance. ... Looking to split up his left-handed hitters, Girardi moved Robinson Cano up to the No. 2 spot in the lineup for the first time since Sept. 13, 2010. Kevin Youkilis batted third and Ichiro Suzuki hit sixth for the first time in his career, according to STATS. ... New York sent RHP Ivan Nova to Detroit early so he could rest up for his 1:05 p.m. start Friday against RHP Doug Fister and the AL champion Tigers. ... The Yankees released RHP David Aardsma.
Copyright 2013 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.