UA 1201 then UA 3907 at Houston
Queretaro → Houston → Washington
Timetable, Houston time
08:05UA 1201 from Queretaro at the gate
07:00UA 3907 to Washington leaves the gate
22 h 55 apart on the timetable, overnight
UA 3907 leaves 22 h 55 after UA 1201 arrives on the timetable: more than half a day, so not a connection we count.