UA 2815 then UA 1036 at Houston
Newark → Houston → Baltimore
Timetable, Houston time
19:07UA 2815 from Newark at the gate
18:40UA 1036 to Baltimore leaves the gate
23 h 33 apart on the timetable, overnight
UA 1036 leaves 23 h 33 after UA 2815 arrives on the timetable: more than half a day, so not a connection we count.