UA 5017 then UA 5191 at O'Hare
Hancock → Chicago → Lancaster
Timetable, Chicago time
16:00UA 5017 from Hancock at the gate
08:50UA 5191 to Lancaster leaves the gate
16 h 50 apart on the timetable, overnight
UA 5191 leaves 16 h 50 after UA 5017 arrives on the timetable: more than half a day, so not a connection we count.