UA 2331 then UA 5191 at O'Hare
Washington → Chicago → Lancaster
Timetable, Chicago time
14:38UA 2331 from Washington at the gate
08:50UA 5191 to Lancaster leaves the gate
18 h 12 apart on the timetable, overnight
UA 5191 leaves 18 h 12 after UA 2331 arrives on the timetable: more than half a day, so not a connection we count.