UA 5977 then UA 5191 at O'Hare
Roanoke → Chicago → Lancaster
Timetable, Chicago time
15:10UA 5977 from Roanoke at the gate
08:50UA 5191 to Lancaster leaves the gate
17 h 40 apart on the timetable, overnight
UA 5191 leaves 17 h 40 after UA 5977 arrives on the timetable: more than half a day, so not a connection we count.