The Tampa Bay Rays and the New York Yankees will play a doubleheader Thursday to close out their four-game series.