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