Air T, a Nasdaq-listed US aviation company, has agreed to buy Rex, according to sources with direct knowledge of the deal.