AA 1723 then AA 2526 at Miami
Cancún → Miami → Nassau
Timetable, Miami time
19:26AA 1723 from Cancún at the gate
18:00AA 2526 to Nassau leaves the gate
22 h 34 apart on the timetable, overnight
AA 2526 leaves 22 h 34 after AA 1723 arrives on the timetable: more than half a day, so not a connection we count.