UA 3878 then UA 1167 at Houston
Chicago Rockford → Houston → Cancún
Timetable, Houston time
23:27UA 3878 from Chicago Rockford at the gate
12:11UA 1167 to Cancún leaves the gate
12 h 44 apart on the timetable, overnight
UA 1167 leaves 12 h 44 after UA 3878 arrives on the timetable: more than half a day, so not a connection we count.