UA 3905 then UA 2664 at San Francisco
Tokyo Haneda → San Francisco → Baltimore
Timetable, San Francisco time
16:33UA 3905 from Tokyo Haneda at the gate
09:12UA 2664 to Baltimore leaves the gate
16 h 39 apart on the timetable, overnight
UA 2664 leaves 16 h 39 after UA 3905 arrives on the timetable: more than half a day, so not a connection we count.