Budget air carriers Allegiant and Sun Country Airlines will merge, the companies said Sunday, the latest move toward consolidation in a heavily competitive industry.