UA 3905 then UA 2356 at San Francisco
Tokyo Haneda → San Francisco → Boston
Timetable, San Francisco time
16:33UA 3905 from Tokyo Haneda at the gate
10:40UA 2356 to Boston leaves the gatealso VA 8309, NZ 9015
18 h 07 apart on the timetable, overnight
UA 2356 leaves 18 h 07 after UA 3905 arrives on the timetable: more than half a day, so not a connection we count.