BOSTON (AP) -- Miguel Cabrera and Prince Fielder homered on consecutive pitches to cap a five-run fifth inning Wednesday night, and the Detroit Tigers beat the Boston Red Sox 7-5 to avoid a three-game sweep.
Delmon Young added a solo homer for Detroit, which won for just the second time in seven games.
Carl Crawford hit a solo homer for the Red Sox, who had a four-game winning streak halted.
Cody Ross, Will Middlebrooks and Pedro Ciriaco had RBI singles for Boston.
The Tigers finished 2-5 in Fenway Park and were 5-5 overall in the season series against the Red Sox.
Rick Porcello (8-6) pitched 52 3 innings, giving up four runs on eight hits for the win. He was 0-2 with a 10.80 ERA in three career starts against Boston.
Colorado's Aaron Cook (2-5) was hit hard for the second straight start, allowing six runs on nine hits, including two homers, in 42 3 innings.
Craig Breslow, acquired from Arizona in a non-waiver trade deadline deal, made his Red Sox debut, allowing a hit in 11 3 scoreless innings.
Octavio Dotel and Joaquin Benoit each worked a scoreless inning before Jose Valverde pitched a perfect ninth for his 21st save in 25 chances.
Detroit chased Cook and broke a 1-all game with the big fifth. Alex Avila and Jhonny Peralta opened with singles and advanced on Ramon Santiago's sacrifice. Austin Jackson followed with an RBI single and Quintin Berry had a run-scoring ground out.
Cabrera then hit a towering flyball completely out of Fenway over the Green Monster seats and Fielder hit a shot into first row of the center field bleachers, making it 6-1.
In the sixth, the Red Sox cut it to 6-4. Boston had loaded the bases with no outs, but Jarrod Saltalamacchia bounced into a double play that scored a run and Middlebrooks had an RBI single. Phil Coke relieved and allowed Ciriaco's RBI single before he struck out Jacoby Ellsbury.
Crawford homered off Coke in the seventh, but Young homered in the eighth to restore Detroit's two-run edge.
The Red Sox had jumped ahead 1-0 in the first when Ross had a two-out RBI single after Ellsbury doubled leading off.
The Tigers tied it in the fourth on Brennan Boesch's RBI single on an eight-pitch at-bat. But Ellsbury saved a run with a running over the shoulder catch to end the inning, stumbling and falling forward into the side of Boston's bullpen as he came to the ground. He went into the pen with his right shoulder, the same one that caused him to miss 79 games after he dislocated it in Boston's home opener.