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