UA 1059 then UA 3907 at Houston
Cancún → Houston → Washington
Timetable, Houston time
10:10UA 1059 from Cancún at the gate
07:00UA 3907 to Washington leaves the gate
20 h 50 apart on the timetable, overnight
UA 3907 leaves 20 h 50 after UA 1059 arrives on the timetable: more than half a day, so not a connection we count.