UA 3905 then UA 1586 at Houston
Cancún → Houston → West Palm Beach
Timetable, Houston time
13:29UA 3905 from Cancún at the gate
12:14UA 1586 to West Palm Beach leaves the gate
22 h 45 apart on the timetable, overnight
UA 1586 leaves 22 h 45 after UA 3905 arrives on the timetable: more than half a day, so not a connection we count.