UA 3902 then UA 1047 at Houston
Toronto → Houston → Los Angeles
Timetable, Houston time
08:27UA 3902 from Toronto at the gate
08:00UA 1047 to Los Angeles leaves the gate
23 h 33 apart on the timetable, overnight
UA 1047 leaves 23 h 33 after UA 3902 arrives on the timetable: more than half a day, so not a connection we count.