BALTIMORE (AP) -- Chris Dickerson hit a three-run, game-ending homer with two outs in the ninth inning, capping an four-run uprising against Jose Valverde that carried the Baltimore Orioles past the Detroit Tigers 7-5 Friday night.
Valverde entered in the ninth inning with a 5-3 lead after starter Max Scherzer retired the final 16 batters he faced.
Nick Markakis led off with a homer before Adam Jones singled and took third on a single by Chris Davis. Valverde (0-1) then retired Matt Wieters and J.J. Hardy on popups before Dickerson hit a 2-1 pitch into the bleachers in right-center, much to the delight of the sellout crowd of 46,249.
It was Dickerson's first start since May 23 following a bout with a sore wrist. He was 0 for 3 with two strikeouts before connecting.
Darren O'Day (3-0) got the final out in the ninth for the Orioles, who have won eight of 11.
Miguel Cabrera and Avisail Garcia both homered and drove in two runs for the Tigers, who have lost four straight.
After yielding a third-inning home run to Jones, Scherzer didn't allow another runner to reach and was poised to become the first Detroit pitcher to start a season 8-0 since Jeremy Bonderman in 2007.
The right-hander struck out 10 and walked two, but he threw a season-high 119 pitches before being replaced by Valverde, who came to the mound with a 0.75 ERA.