UA 3851 then UA 1340 at Houston
Seoul → Houston → Newark
Timetable, Houston time
17:54UA 3851 from Seoul at the gate
10:55UA 1340 to Newark leaves the gate
17 h 01 apart on the timetable, overnight
UA 1340 leaves 17 h 01 after UA 3851 arrives on the timetable: more than half a day, so not a connection we count.