UA 981 then UA 5191 at O'Hare
Dublin → Chicago → Lancaster
Timetable, Chicago time
13:20UA 981 from Dublin at the gate
08:50UA 5191 to Lancaster leaves the gate
19 h 30 apart on the timetable, overnight
UA 5191 leaves 19 h 30 after UA 981 arrives on the timetable: more than half a day, so not a connection we count.