The companies said the deal is expected to close as early as the fourth quarter of 2024.