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