UA 3874 then UA 5407 at O'Hare
Chicago → Chicago → Appleton
Timetable, Chicago time
01:21UA 3874 from Chicago at the gate
14:30UA 5407 to Appleton leaves the gate
13 h 09 apart on the timetable
UA 5407 leaves 13 h 09 after UA 3874 arrives on the timetable: more than half a day, so not a connection we count.