AA 5277 then AA 1209 at Philadelphia
Memphis → Philadelphia → Salt Lake City
Timetable, Philadelphia time
19:41AA 5277 from Memphis at the gate
19:35AA 1209 to Salt Lake City leaves the gate
23 h 54 apart on the timetable, overnight
AA 1209 leaves 23 h 54 after AA 5277 arrives on the timetable: more than half a day, so not a connection we count.