AA 1799 then QR 8187 at O'Hare
Cancún → Chicago → Houston
Timetable, Chicago time
19:20AA 1799 from Cancún at the gate
16:40QR 8187 to Houston leaves the gate
21 h 20 apart on the timetable, overnight
QR 8187 leaves 21 h 20 after AA 1799 arrives on the timetable: more than half a day, so not a connection we count.