AA 5002 then CA 1020 at O'Hare
Cedar Rapids → Chicago → Shanghai
Timetable, Chicago time
15:30AA 5002 from Cedar Rapids at the gate
08:17CA 1020 to Shanghai leaves the gate
16 h 47 apart on the timetable, overnight
CA 1020 leaves 16 h 47 after AA 5002 arrives on the timetable: more than half a day, so not a connection we count.