Originally Posted by
TWA884
UA1584 is a flight on the current schedule which departs from EWR at 5:00pm and arrives at SFO at 8:24 pm.
Flight numbers sometimes change when schedules are published or updated.
To provide you with better advice, it would help to know the flight numbers and the approximate time of year that you wish to travel.
Among these reasons these details are important is that on some days United has a flight to Auckland that departs later in the evening than the NZ flight. If that's the case on the OP's travel date, it makes the connection less risky, as there's a decent chance of getting on the UA flight if the incoming EWR is badly delayed. Given the codeshare arrangement between UA and NZ, a switch to the UA flight might even happen automatically if there's a delay (UA and NZ frequent fliers might know if that happens).