UA 1844 then AA 901 at San Francisco
Newark → San Francisco → Phoenix
Timetable, San Francisco time
19:44UA 1844 from Newark at the gatealso VA 8517
19:05AA 901 to Phoenix leaves the gate
23 h 21 apart on the timetable, overnight
AA 901 leaves 23 h 21 after UA 1844 arrives on the timetable: more than half a day, so not a connection we count.