UA 3905 then UA 1585 at San Francisco
Tokyo Haneda → San Francisco → Puerto Vallarta
Timetable, San Francisco time
16:33UA 3905 from Tokyo Haneda at the gate
10:29UA 1585 to Puerto Vallarta leaves the gatealso AC 5495
17 h 56 apart on the timetable, overnight
UA 1585 leaves 17 h 56 after UA 3905 arrives on the timetable: more than half a day, so not a connection we count.