AA 5008 then UA 5453 at O'Hare
Detroit → Chicago → Harrisburg
Timetable, Chicago time
17:14AA 5008 from Detroit at the gate
13:55UA 5453 to Harrisburg leaves the gate
20 h 41 apart on the timetable, overnight
UA 5453 leaves 20 h 41 after AA 5008 arrives on the timetable: more than half a day, so not a connection we count.