UA 3905 then UA 707 at Houston
Cancún → Houston → San Jose del Cabo
Timetable, Houston time
13:29UA 3905 from Cancún at the gate
09:36UA 707 to San Jose del Cabo leaves the gate
20 h 07 apart on the timetable, overnight
UA 707 leaves 20 h 07 after UA 3905 arrives on the timetable: more than half a day, so not a connection we count.