UA 5300 then Y8 7456 at O'Hare
Green Bay → Chicago → Shanghai
Timetable, Chicago time
07:49UA 5300 from Green Bay at the gate
01:35Y8 7456 to Shanghai leaves the gate
17 h 46 apart on the timetable, overnight
Y8 7456 leaves 17 h 46 after UA 5300 arrives on the timetable: more than half a day, so not a connection we count.