UA 2004 then UA 4789 at O'Hare
San Jose (California) → Chicago → Fargo
Timetable, Chicago time
20:32UA 2004 from San Jose (California) at the gate
19:45UA 4789 to Fargo leaves the gate
23 h 13 apart on the timetable, overnight
UA 4789 leaves 23 h 13 after UA 2004 arrives on the timetable: more than half a day, so not a connection we count.