AA 3389 then UA 3904 at O'Hare
Fargo → Chicago → Denver
Timetable, Chicago time
20:39AA 3389 from Fargo at the gate
19:00UA 3904 to Denver leaves the gate
22 h 21 apart on the timetable, overnight
UA 3904 leaves 22 h 21 after AA 3389 arrives on the timetable: more than half a day, so not a connection we count.