UA 3852 then UA 335 at San Francisco
Ontario → San Francisco → Detroit
Timetable, San Francisco time
10:55UA 3852 from Ontario at the gate
08:26UA 335 to Detroit leaves the gatealso NZ 2889
21 h 31 apart on the timetable, overnight
UA 335 leaves 21 h 31 after UA 3852 arrives on the timetable: more than half a day, so not a connection we count.