Rafael became a hurricane while churning toward the Gulf of Mexico, threatening to inflict damaging winds and heavy rains on populated areas from the Cayman Islands to South Florida.