UA 786 then FX 9791 at O'Hare
Wichita → Chicago → Anchorage
Timetable, Chicago time
09:15UA 786 from Wichita at the gate
04:00FX 9791 to Anchorage leaves the gate
18 h 45 apart on the timetable, overnight
FX 9791 leaves 18 h 45 after UA 786 arrives on the timetable: more than half a day, so not a connection we count.