AA 4005 then CK 226 at O'Hare
Madison → Chicago → Shanghai
Timetable, Chicago time
21:55AA 4005 from Madison at the gate
19:50CK 226 to Shanghai leaves the gate
21 h 55 apart on the timetable, overnight
CK 226 leaves 21 h 55 after AA 4005 arrives on the timetable: more than half a day, so not a connection we count.