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