MINNEAPOLIS (AP) — Brad Miller hit a tiebreaking single in the eighth inning, and Tampa Bay ended a five-game losing streak with a 4-2 win over the Minnesota Twins Friday night.

Evan Longoria hit his second homer in as many games for the Rays, who won for just the third time in 14 games. Logan Morrison also homered.

Erasmo Ramirez (7-4) and Xavier Cedeno combined for 1 1/3 innings of scoreless relief for Tampa Bay, and Alex Colome labored to get five outs for his 13th save in as many tries.

Ricky Nolasco (2-4) allowed three runs — two earned — while throwing a season-high 7 2/3 innings for the Twins. No Minnesota pitcher has three wins.