UA 3905 then AA 2144 at Houston
Cancún → Houston → Miami
Timetable, Houston time
13:29UA 3905 from Cancún at the gate
05:20AA 2144 to Miami leaves the gate
15 h 51 apart on the timetable, overnight
AA 2144 leaves 15 h 51 after UA 3905 arrives on the timetable: more than half a day, so not a connection we count.