UA 5859 then AA 3974 at O'Hare
Flint → Chicago → Harrisburg
Timetable, Chicago time
09:43UA 5859 from Flint at the gate
08:27AA 3974 to Harrisburg leaves the gate
22 h 44 apart on the timetable, overnight
AA 3974 leaves 22 h 44 after UA 5859 arrives on the timetable: more than half a day, so not a connection we count.