UA 5297 then AA 1212 at O'Hare
Lincoln → Chicago → Miami
Timetable, Chicago time
17:03UA 5297 from Lincoln at the gate
10:14AA 1212 to Miami leaves the gate
17 h 11 apart on the timetable, overnight
AA 1212 leaves 17 h 11 after UA 5297 arrives on the timetable: more than half a day, so not a connection we count.