The Miami-based firm agreed to buy a minority stake in the business and provide it with $335 million in credit.