UA 3876 then UA 2091 at O'Hare
Miami → Chicago → Raleigh-Durham
Timetable, Chicago time
14:49UA 3876 from Miami at the gate
14:30UA 2091 to Raleigh-Durham leaves the gate
23 h 41 apart on the timetable, overnight
UA 2091 leaves 23 h 41 after UA 3876 arrives on the timetable: more than half a day, so not a connection we count.