UA 3433 then UA 1240 at Newark
Charlotte → New York → St Louis
Timetable, New York time
20:30UA 3433 from Charlotte at the gate
19:59UA 1240 to St Louis leaves the gate
23 h 29 apart on the timetable, overnight
UA 1240 leaves 23 h 29 after UA 3433 arrives on the timetable: more than half a day, so not a connection we count.