UA 1948 then UA 8164 at San Francisco
Cancún → San Francisco → Burbank
Timetable, San Francisco time
16:52UA 1948 from Cancún at the gate
16:41UA 8164 to Burbank leaves the gate
23 h 49 apart on the timetable, overnight
UA 8164 leaves 23 h 49 after UA 1948 arrives on the timetable: more than half a day, so not a connection we count.