UA 5959 then NH 8407 at LAX
Phoenix Sky Harbor → Los Angeles → Tokyo Narita
Timetable, Los Angeles time
17:52UA 5959 from Phoenix Sky Harbor at the gate
16:40NH 8407 to Tokyo Narita leaves the gate
22 h 48 apart on the timetable, overnight
NH 8407 leaves 22 h 48 after UA 5959 arrives on the timetable: more than half a day, so not a connection we count.