UA 3874 then AA 1212 at O'Hare
Chicago → Chicago → Boston
Timetable, Chicago time
01:21UA 3874 from Chicago at the gate
19:13AA 1212 to Boston leaves the gate
17 h 52 apart on the timetable
AA 1212 leaves 17 h 52 after UA 3874 arrives on the timetable: more than half a day, so not a connection we count.