UA 5401 then DL 1697 at Phoenix
San Diego → Phoenix → Boston
Timetable, Phoenix time
15:18UA 5401 from San Diego at the gate
14:20DL 1697 to Boston leaves the gate
23 h 02 apart on the timetable, overnight
DL 1697 leaves 23 h 02 after UA 5401 arrives on the timetable: more than half a day, so not a connection we count.