AA 3974 then Y8 7456 at O'Hare
Harrisburg → Chicago → Shanghai
Timetable, Chicago time
13:30AA 3974 from Harrisburg at the gate
01:35Y8 7456 to Shanghai leaves the gate
12 h 05 apart on the timetable, overnight
Y8 7456 leaves 12 h 05 after AA 3974 arrives on the timetable: more than half a day, so not a connection we count.