Taylor Walls hit a three-run homer in extra innings to help the Tampa Bay Rays defeat the St. Louis Cardinals 4-2.