The Rays were 2-0 up early through a Wilson Ramos homer, and a Jake Wendle two-run RBI single doubled the lead in the third inning.
But the Astros cut the deficit to 4-2 in the fourth and pulled a third run back in the sixth through a Yuri Gurriel RBI single.
Alex Bregman then secured a dramatic victory in the ninth inning with a walk-off double.
The New York Yankees and Washington Nationals split their double-header with one victory apiece.
— Houston Astros (@astros) June 19, 2018
The Nationals won the first game – a completion of their suspended game on May 15 – by 5-3, but went down 4-2 in the second.
Elsewhere, the New York Mets scored six runs in the final inning as they beat the Colorado Rockies 12-2, the Texas Rangers beat the Kansas City Royals 6-3 and the Cleveland Indians beat the Chicago White Sox 6-2.
Aaron Altherr’s two-run walk-off double in the 10th inning earned the Philadelphia Phillies a 6-5 win against the St Louis Cardinals, while the Pittsburgh Pirates beat the Milwaukee Brewers 1-0.
The Miami Marlins scored three runs in the ninth as they overturned a 4-0 deficit to beat the San Francisco Giants 5-4 and the Arizona Diamondbacks beat the Los Angeles Angels 7-4.
The clash between the Los Angeles Dodgers and Chicago Cubs was postponed to Tuesday due to the weather.
Know more about Sport360 Application