UA 5902 then G7 4188 at O'Hare
Madison → Chicago → Fargo
Timetable, Chicago time
06:20UA 5902 from Madison at the gate
19:45G7 4188 to Fargo leaves the gate
13 h 25 apart on the timetable
G7 4188 leaves 13 h 25 after UA 5902 arrives on the timetable: more than half a day, so not a connection we count.