AA 4525 then Y8 7456 at O'Hare
Madison → Chicago → Shanghai
Timetable, Chicago time
10:40AA 4525 from Madison at the gate
01:35Y8 7456 to Shanghai leaves the gate
14 h 55 apart on the timetable, overnight
Y8 7456 leaves 14 h 55 after AA 4525 arrives on the timetable: more than half a day, so not a connection we count.