UA 3905 then UA 1497 at Houston
Cancún → Houston → New York LaGuardia
Timetable, Houston time
13:29UA 3905 from Cancún at the gate
08:04UA 1497 to New York LaGuardia leaves the gate
18 h 35 apart on the timetable, overnight
UA 1497 leaves 18 h 35 after UA 3905 arrives on the timetable: more than half a day, so not a connection we count.