The Tigers center fielder, who doubled his home run output for the season with the first multi-homer game of his career, added a double.
Michael Fulmer (5-1) tossed seven innings to collect the win. He gave up four runs -- three earned -- on 10 hits while walking none and striking out four.
Ian Kinsler had two hits and an RBI for the Tigers (19-19). Justin Wilson, who blew the save in Baltimore's 13-11, 13-inning win on Tuesday, recorded the final three outs for his third save. Wilson struck out Manny Machado with runners on the corners to end the game. First base umpire C.B. Bucknor called Machado out on a check swing, prompting the third baseman to slam his helmet in frustration.
Orioles starter Ubaldo Jimenez (1-2) allowed five runs on eight hits in five innings. Welington Castillo had his second consecutive three-hit game and drove in a run, and Mark Trumbo added an RBI double for Baltimore (23-15).
In the second inning, the Orioles strung together three singles in the second to load the bases. J.J. Hardy's fielder's choice brought in the first run of the game.
Detroit took a 2-1 lead in the bottom of the inning. Collins went to the opposite field to break his long drought, as the solo shot landed in the Orioles' bullpen. Kinsler drove in the second run with an RBI single that scored James McCann.
Shortstop Jose Iglesias' throwing error set the stage for Baltimore's two-run fourth. Jonathan Schoop followed with a double and Castillo's subsequent single tied the score. Trey Mancini's sacrifice fly put the Orioles on top.
Two-out doubles by Chris Davis and Trumbo made it 4-2 in the fifth.
With two on and two out in the bottom of the fifth, Collins put the Tigers back on top with his second long ball, this one landing in the right-field stands.
NOTES: Detroit 1B Miguel Cabrera was a late scratch because of a soreness to his left side. He missed nine games with a right groin strain earlier this season. ... The Orioles made several roster moves in the aftermath of their 13-11, 13-inning win on Tuesday. C Francisco Pena was designated for assignment and LHP Donnie Hart was assigned to Triple-A Norfolk. RHP Stefan Crichton was recalled from Norfolk and RHP Miguel Castro was recalled from Double-A Bowie. Crichton and Castro combined to throw 2 2/3 scoreless innings Wednesday. ... Baltimore LHP Zach Britton will throw 60 feet on Thursday, the first time he will do so since being placed on the 10-day disabled list May 6 for the second time this season. The team's closer has been battling a left forearm strain. ... Despite the loss, the Orioles have won 10 of the teams' past 15 meetings. ... Detroit RHP Shane Greene has allowed just two runs over his last 17 appearances.