DL 5399 then AA 2606 at JFK
Portland (Maine) → New York → Phoenix
Timetable, New York time
17:30DL 5399 from Portland (Maine) at the gate
17:18AA 2606 to Phoenix leaves the gate
23 h 48 apart on the timetable, overnight
AA 2606 leaves 23 h 48 after DL 5399 arrives on the timetable: more than half a day, so not a connection we count.