UA 5810 then UA 3908 at O'Hare
Wichita → Chicago → Newark
Timetable, Chicago time
12:55UA 5810 from Wichita at the gate
12:00UA 3908 to Newark leaves the gate
23 h 05 apart on the timetable, overnight
UA 3908 leaves 23 h 05 after UA 5810 arrives on the timetable: more than half a day, so not a connection we count.