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