AA 2300 then Y8 7456 at O'Hare
Miami → Chicago → Shanghai
Timetable, Chicago time
22:07AA 2300 from Miami at the gate
19:10Y8 7456 to Shanghai leaves the gate
21 h 03 apart on the timetable, overnight
Y8 7456 leaves 21 h 03 after AA 2300 arrives on the timetable: more than half a day, so not a connection we count.