CM 408 then UA 1885 at San Francisco
Tocumen → San Francisco → Detroit
Timetable, San Francisco time
17:25CM 408 from Tocumen at the gate
08:26UA 1885 to Detroit leaves the gate
15 h 01 apart on the timetable, overnight
UA 1885 leaves 15 h 01 after CM 408 arrives on the timetable: more than half a day, so not a connection we count.