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