Luke Raley broke the tie with his 19th home run of the season late in the game to lift the Tampa Bay Rays to a 4-3 win over the Baltimore Orioles.