UA 1843 then AA 3974 at O'Hare
Denver → Chicago → Harrisburg
Timetable, Chicago time
21:30UA 1843 from Denver at the gate
10:35AA 3974 to Harrisburg leaves the gate
13 h 05 apart on the timetable, overnight
AA 3974 leaves 13 h 05 after UA 1843 arrives on the timetable: more than half a day, so not a connection we count.