NEW YORK — Pedro Ciriaco blooped an RBI single in the 10th inning for his latest big hit against the New York Yankees, and the Boston Red Sox squeaked out a 3-2 victory Sunday night moments after manager Bobby Valentine was ejected.

Felix Doubront held the Yankees scoreless until Russell Martin homered leading off the seventh inning. Martin also hit a tying single with two outs in the eighth off closer Alfredo Aceves (2-6), who went the rest of the way for the win.

Ryan Sweeney hit an early two-run double for the Red Sox, who took two of three in their first visit to New York this season despite grounding into four double plays against Hiroki Kuroda.