UA 5192 then AS 9802 at O'Hare
Bismarck → Chicago → San Diego
Timetable, Chicago time
15:00UA 5192 from Bismarck at the gate
13:30AS 9802 to San Diego leaves the gate
22 h 30 apart on the timetable, overnight
AS 9802 leaves 22 h 30 after UA 5192 arrives on the timetable: more than half a day, so not a connection we count.