BALTIMORE -- Matt Joyce hit a tie-breaking two-run homer in the fourth inning that stood up for Tampa Bay as the Rays pulled out a 4-3 victory over the Baltimore Orioles Monday night at Camden Yards.
Joyce's homer gave Tampa Bay (71-52) a 4-2 lead in the fourth. The Orioles couldn't catch up as they wasted numerous scoring chances on a night where they finished with 15 hits in this 3-hour, 56-minute marathon.
Overall, they went just 2-for-14 with runners in scoring position and left 15 on base. Baltimore left runners in scoring position in six innings.
The Rays now have won five of their last six games, and Baltimore (67-57) dropped to four games behind Tampa Bay in the Wild Card race. The Orioles were 3 1/2 games behind Oakland pending the result of the A's game against Seattle later Monday night.
Tampa Bay starter David Price had been dominant since early July but struggled throughout his five-inning stint on Monday. Price (7-5) got the win but gave up 10 hits and needed to escape jams in four of the five innings to leave with a 4-2 lead.
Fernando Rodney came on in the ninth and earned his 28th save.
Orioles starter Chris Tillman (14-4) had problems with the long ball, as Tampa Bay scored three of its runs off him that way. He gave up Joyce's game-winning shot and an Evan Longoria solo homer, allowing four runs in six innings.
Matt Wieters hit the only Baltimore homer, which cut the lead to 4-3 in the seventh. But the Orioles could do no more.
The Rays took a quick 1-0 lead when Longoria hit a two-out homer to center off Tillman in the top of the first.
Tampa Bay, always patient at the plate, ran up Tillman's pitch count early. The Rays forced him to throw 25 pitches in the first inning even though he gave up just one hit. He needed 26 more in the second, during which Kelly Johnson's two-out single made it 2-0.
Baltimore got three straight singles, capped by Danny Valencia's RBI hit, to cut the lead in half in the bottom of the second.
The Orioles then tied it on a Wieters RBI double in the third on a ball that barely missed being a home run.
Tampa Bay took a 4-2 lead in the fourth on Joyce's two-run homer.
NOTES: Orioles manager Buck Showalter moved 2B Brian Roberts to the leadoff position. RF Nick Markakis often batted first against tough left-handers in place of LF Nate McLouth, but Showalter put Roberts in the top spot and dropped Markakis to seventh for the first time in more than six years. ... Baltimore SS J.J. Hardy returned to the lineup, on his 31st birthday, after missing two games due to back spasms. ... Rays C Jose Lobaton hit a walk-off triple and a walk-off homer last weekend against Toronto, and manager Joe Maddon had a three-gallon tub of ice cream waiting for him on the team's charter flight to Baltimore. The Elias Sports Bureau said Lobaton was the first catcher to hit a walk-off triple and homer in the same year since Wally Schang did it for the Philadelphia A's in 1917.