AA 2577 then WN 3264 at Miami
Cancún → Miami → Baltimore
Timetable, Miami time
17:54AA 2577 from Cancún at the gate
16:20WN 3264 to Baltimore leaves the gate
22 h 26 apart on the timetable, overnight
WN 3264 leaves 22 h 26 after AA 2577 arrives on the timetable: more than half a day, so not a connection we count.