UA 3851 then UA 1280 at Houston
Seoul → Houston → San José (Costa Rica)
Timetable, Houston time
17:54UA 3851 from Seoul at the gate
16:57UA 1280 to San José (Costa Rica) leaves the gate
23 h 03 apart on the timetable, overnight
UA 1280 leaves 23 h 03 after UA 3851 arrives on the timetable: more than half a day, so not a connection we count.