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