UA 3882 then UA 5584 at O'Hare
Chicago → Chicago → Harrisburg
Timetable, Chicago time
20:54UA 3882 from Chicago at the gate
10:29UA 5584 to Harrisburg leaves the gate
13 h 35 apart on the timetable, overnight
UA 5584 leaves 13 h 35 after UA 3882 arrives on the timetable: more than half a day, so not a connection we count.