BOSTON -- The Boston Red Sox didn't want to ruin their day off with another off night before the Yankees come to town.
Coco Crisp put the Red Sox on top with a two-run double in the sixth for Boston, which had dropped the first two games of the series to the Tigers.
Boston's win and a 3-2 victory by the Baltimore Orioles over New York sliced the Yankees' AL East lead to two games.
The Red Sox and Yankees open a five-game series on Friday.
"This is a big relief for us," Red Sox catcher Javy Lopez said. "We're looking forward to Friday."
Ortiz hit a two-run shot off Justin Verlander (14-6) into the Red Sox bullpen in the fifth to give Boston a 3-1 lead. He also leads the majors in RBI with 113.
Magglio Ordonez and Brent Clevlen homered for the Tigers.
Wells (2-2), making his fourth start since coming off the disabled list July 31, gave up four runs on 10 hits with one walk and three strikeouts.
With Boston's starters struggling to make it past six innings the past few weeks, Wells performance was timely.
"He just quieted things down a little bit," Boston manager Terry Francona said. "The magnitude of any game isn't too big for him, and he just goes out and competes and throws what he throws for strikes. When he's healthy enough to do it, he's pretty good."
Craig Hansen got four outs and Jonathan Papelbon worked the ninth for his 32nd save in 37 chances.
Verlander failed in his bid to tie Toronto's Roy Halladay for the major-league lead with 15 wins. The rookie right-hander allowed five runs on six hits in six innings, with a career-high seven walks and two strikeouts.
Verlander had to rely too much on his fastball without having control of his breaking pitches.
"It's not very often that he doesn't have command of either his curve or the changeup," Tigers manager Jim Leyland said. "He just didn't have good feel for either one."
The Tigers had grabbed a 4-3 lead in the top of the sixth, but the Red Sox came back with a pair of runs with two outs in the bottom of the inning.
Mike Lowell walked, Javy Lopez singled and Alex Cora walked to load the bases before Crisp doubled off the Green Monster. Cora was cut down at the plate on a long throw by left fielder Craig Monroe to end the inning.
"Sometimes you don't have it," Verlander said. "I felt like I battled pretty good. I couldn't make that pitch and Crisp hit it off the wall."
Trailing 3-1 in the sixth, the Tigers scored three runs off Wells. Ordonez opened the inning with a homer into the seats above the Green Monster. Two outs later, Clevlen, recalled from Double-A on July 29, hit a two-run shot over the seats above the Monster.
"He's a guy that never gives up even though he gave up a couple of home runs," Lopez said of his batterymate.
Lowell's sacrifice fly off reliever Jason Grilli made it 6-4 in the seventh.
Plate umpire Bruce Froemming worked his 5,000th career game, becoming only the second umpire to reach that milestone. Bill Klem worked 5,374 games from 1905-40. Froemming was honored with a brief on-field ceremony and received a standing ovation before stepping to a microphone, thanking the fans and saying "Play ball."
The Tigers grabbed a 1-0 lead in the third on Monroe's RBI single.
Boston tied it in the bottom of the inning without getting a hit on Mark Loretta's grounder to short.
"We're in a dogfight," said Lowell. "I'd much rather go into the off day with a victory. We played a good game, beat a good team."
|David Ortiz shows the fans at Fenway Park some love after his two-run homer in the fifth inning. (AP)|
|Players of the Game|
Nike Red Sox Navy Blue Team Issue Legend Logo Performance Shop Now!
|Ivan Rodriguez, C||4||0||2||0||1||1||0||.297|
|Craig Monroe, LF||4||0||3||1||0||0||1||.279|
|Marcus Thames, DH||4||0||0||0||0||1||5||.263|
|Magglio Ordonez, RF||4||1||1||1||0||0||4||.297|
|Carlos Guillen, SS||4||0||2||0||0||0||0||.306|
|Brandon Inge, 3B||4||1||1||0||0||0||2||.243|
|Sean Casey, 1B||4||0||0||0||0||0||2||.294|
|Brent Clevlen, CF||3||1||1||2||0||0||1||.412|
|a- Curtis Granderson, PH||1||0||0||0||0||0||0||.272|
|Omar Infante, 2B||4||1||1||0||0||2||0||.264|
|a-grounded out for Clevlen in the 9th|
|2B - Omar Infante (7, Wells)|
|HR - Magglio Ordonez (17, Wells), Brent Clevlen (3, Wells)|
|RBI - Craig Monroe (64), Magglio Ordonez (80), Brent Clevlen 2 (4)|
|2-OUT RBI - Brent Clevlen 2 (3)|
|PK - Ivan Rodriguez (1, Wells)|
|Team LOB - 6|
|Outfield Assists - Craig Monroe 1|
|DP - Infante-Casey, Inge-Casey|
|Justin Verlander (L,14-6)||6||6||5||5||7||2||1||3.14|
|IBB - Ortiz by Justin Verlander|
|Pitches-Strikes - Justin Verlander 105-58, Jason Grilli 32-17|
|Ground Balls-Fly Balls - Justin Verlander 9-4, Jason Grilli 5-1|
|Batters Faced - Justin Verlander 28, Jason Grilli 10|
|Boston Red Sox|
|Coco Crisp, CF||3||0||2||2||1||0||0||.281|
|Mark Loretta, 2B||5||1||1||1||0||0||2||.303|
|David Ortiz, DH||1||2||1||2||3||0||0||.286|
|Manny Ramirez, LF||4||0||1||0||0||1||3||.320|
|Kevin Youkilis, 1B||4||0||2||0||0||0||0||.293|
|Mike Lowell, 3B||1||1||0||1||2||0||0||.283|
|Wily Mo Pena, RF||4||0||0||0||0||0||4||.314|
|Gabe Kapler, RF||0||0||0||0||0||0||0||.241|
|Javy Lopez, C||3||2||1||0||1||1||1||.265|
|Alex Cora, SS||2||0||0||0||2||0||0||.278|
|2B - Coco Crisp (17, Verlander)|
|HR - David Ortiz (42, Verlander)|
|SF - Mike Lowell (5)|
|SH - Coco Crisp (4)|
|RBI - Coco Crisp 2 (26), Mark Loretta (46), David Ortiz 2 (113), Mike Lowell (60)|
|2-OUT RBI - Coco Crisp 2 (12), David Ortiz 2 (40)|
|Team LOB - 8|
|DP - Loretta-Cora-Youkilis|
|Boston Red Sox|
|David Wells (W,2-2)||6.2||10||4||4||1||3||2||6.06|
|Craig Hansen (H,7)||1.1||1||0||0||0||0||0||5.02|
|Jonathan Papelbon (S,32)||1||0||0||0||0||1||0||0.89|
|Pitches-Strikes - David Wells 90-64, Craig Hansen 13-7, Jonathan Papelbon 6-6|
|Ground Balls-Fly Balls - David Wells 7-9, Craig Hansen 2-1, Jonathan Papelbon 2-0|
|Batters Faced - David Wells 30, Craig Hansen 4, Jonathan Papelbon 3|
|Attendance - 36304|
|Game Time - 2:47|
|Temperature - 75|
|Umpires - Home - Bruce Froemming, First Base - Brian Runge, Second Base - Mike Winters, Third Base - Paul Emmel|