UA 3905 then UA 4039 at Houston
Cancún → Houston → Minneapolis
Timetable, Houston time
13:29UA 3905 from Cancún at the gate
07:45UA 4039 to Minneapolis leaves the gate
18 h 16 apart on the timetable, overnight
UA 4039 leaves 18 h 16 after UA 3905 arrives on the timetable: more than half a day, so not a connection we count.