The rear unit is probably one of the NJT E8s, 4248 and 4251.
Hmmm, were those former NYC units?
Apparently 4251
was an ex-NYC unit, the 4084.
According to the all-time NJ Transit roster on the Hoboken Terminal website (link below) which I've found to be pretty reliable-
4248 was the former Pennsylvania RR 5788A. It later became URHS's Erie 835.
4251 was the former NJT 4327, nee-Penn Central 4327, having started life as NYC 4084. That unit also survives, at the Tennessee Central Railway Museum.
http://www.hobokenterminal.com/alltime.html
So the 4251 was back in it's old stomping grounds. At least it was when it was was operating on the Hudson Line.