UA 5902 then K4 810 at O'Hare
Madison → Chicago → Anchorage
Timetable, Chicago time
06:20UA 5902 from Madison at the gate
04:00K4 810 to Anchorage leaves the gate
21 h 40 apart on the timetable, overnight
K4 810 leaves 21 h 40 after UA 5902 arrives on the timetable: more than half a day, so not a connection we count.