BA 8341 then VA 8150 at San Francisco
New York JFK → San Francisco → Newark
Timetable, San Francisco time
23:54BA 8341 from New York JFK at the gate
23:15VA 8150 to Newark leaves the gate
23 h 21 apart on the timetable, overnight
VA 8150 leaves 23 h 21 after BA 8341 arrives on the timetable: more than half a day, so not a connection we count.