UA 3876 then FX 9791 at O'Hare
Miami → Chicago → Anchorage
Timetable, Chicago time
14:49UA 3876 from Miami at the gate
04:00FX 9791 to Anchorage leaves the gate
13 h 11 apart on the timetable, overnight
FX 9791 leaves 13 h 11 after UA 3876 arrives on the timetable: more than half a day, so not a connection we count.