UA 3874 then AA 4503 at O'Hare
Chicago → Chicago → Raleigh-Durham
Timetable, Chicago time
01:21UA 3874 from Chicago at the gate
13:24AA 4503 to Raleigh-Durham leaves the gate
12 h 03 apart on the timetable
AA 4503 leaves 12 h 03 after UA 3874 arrives on the timetable: more than half a day, so not a connection we count.