UA 3905 then WS 1541 at Houston
Cancún → Houston → Calgary
Timetable, Houston time
13:29UA 3905 from Cancún at the gate
08:00WS 1541 to Calgary leaves the gate
18 h 31 apart on the timetable, overnight
WS 1541 leaves 18 h 31 after UA 3905 arrives on the timetable: more than half a day, so not a connection we count.