AA 4094 then UA 5581 at O'Hare
Cincinnati Northern Kentucky → Chicago → Harrisburg
Timetable, Chicago time
06:59AA 4094 from Cincinnati Northern Kentucky at the gate
06:55UA 5581 to Harrisburg leaves the gate
23 h 56 apart on the timetable, overnight
UA 5581 leaves 23 h 56 after AA 4094 arrives on the timetable: more than half a day, so not a connection we count.