AA 338 then QR 8187 at O'Hare
Phoenix → Chicago → Houston
Timetable, Chicago time
18:02AA 338 from Phoenix at the gate
16:40QR 8187 to Houston leaves the gate
22 h 38 apart on the timetable, overnight
QR 8187 leaves 22 h 38 after AA 338 arrives on the timetable: more than half a day, so not a connection we count.