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