UA 5786 then UA 3871 at O'Hare
Green Bay → Chicago → Xiamen
Timetable, Chicago time
19:30UA 5786 from Green Bay at the gate
15:30UA 3871 to Xiamen leaves the gate
20 h apart on the timetable, overnight
UA 3871 leaves 20 h after UA 5786 arrives on the timetable: more than half a day, so not a connection we count.