BOSTON (AP) _ Wil Cordero hit a two-run homer with two outs in the 11th inning Friday night, giving the Boston Red Sox a 5-3 victory over the Oakland Athletics.

Cordero doubled and scored in the eighth, tying the game at 3, but Jose Canseco struck out with two runners on base to end the inning.

Cordero flied out with the bases loaded in the ninth to end another threat. Boston stranded two more runners on in the 10th before taking advantage of its opportunity in the 11th.

Troy O'Leary singled with two out and Cordero followed with a towering home run over the Green Monster screen to end Boston's fifth extra-inning outing in its last six games. Mo Vaughn also homered for Boston.

Mike Stanton (2-1) earned the victory with one inning of scoreless relief. Todd Van Poppel (0-4) pitched two innings, allowing three hits and a walk.

A's rookie Steve Wojciechowski, off to a 4-0 start, went 7 2-3 innings and allowed six hits. He left in the eighth after allowing Cordero's two-out double high off the center-field wall.

Cordero scored to make it 3-all when John Valentin singled off Billy Taylor. Vaughn singled, but Canseco, who had worked the count to 3-0, struck out.

Red Sox starter Tim Wakefield left trailing 3-2, having given up five hits in the first two-plus innings and then retiring 14 of the next 15 batters.

The Athletics took a 2-0 lead in the first when Jason Giambi hit the 4,000th home run in Oakland history. After falling behind in the count 0-2, Mark McGwire followed with his fifth of the season.

Boston made it 2-1 in the bottom of the inning when Vaughn hit a high fly ball that backed Jose Herrera against the 5-foot bullpen wall in right field. Herrera jumped, but the ball hit the heel of his glove and landed over the wall for Vaughn's 15th homer and his third in his last two games.

Notes: Reggie Jackson hit the first homer in Oakland history on April 10, 1968. ... McGwire has reached base safely in 34 consecutive games dating back to last season. ... Giambi, last week's AL player of the week, has 52 hits and is on pace to become the first Athletic to collect 200 or more hits since Wally Moses got 208 in 1937 for the Philadelphia A's. ... The Red Sox have homered in seven consecutive games. ... O'Leary is batting 4-for-33 (.121) against left-handers.