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