UA 3905 then UA 837 at San Francisco
Tokyo Haneda → San Francisco → Tokyo Narita
Timetable, San Francisco time
16:33UA 3905 from Tokyo Haneda at the gate
10:45UA 837 to Tokyo Narita leaves the gatealso NH 7013
18 h 12 apart on the timetable, overnight
UA 837 leaves 18 h 12 after UA 3905 arrives on the timetable: more than half a day, so not a connection we count.