UA 2004 then Y8 7456 at O'Hare
San Jose (California) → Chicago → Shanghai
Timetable, Chicago time
20:32UA 2004 from San Jose (California) at the gate
19:10Y8 7456 to Shanghai leaves the gate
22 h 38 apart on the timetable, overnight
Y8 7456 leaves 22 h 38 after UA 2004 arrives on the timetable: more than half a day, so not a connection we count.