UA 4014 then UA 3902 at Houston
Panama City Beach → Houston → Newark
Timetable, Houston time
11:10UA 4014 from Panama City Beach at the gate
11:00UA 3902 to Newark leaves the gate
23 h 50 apart on the timetable, overnight
UA 3902 leaves 23 h 50 after UA 4014 arrives on the timetable: more than half a day, so not a connection we count.