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