Isaac Paredes crushed three solo home runs as the Tampa Bay Rays hung on to defeat the New York Yankees 5-4.