lirr42,That signal is an automatic block signal,there are circuts between each signal in both directions to send status of
the block in front of, or behind that signal.
That part of the Port Jervis line is single track CTC,not sure if the NJT DS uses a "traffic lever" to set opposing signals
to "stop" for eastbound trains and "clear" for westbound trains.
Note: with the number plate on the signal, a red signal would be "Stop and proceed",
proceed to next signal at restricted speed(10-15 mph) till next signal prepared to stop short of train/obstruction ahead.
The Land of Enchantment is not Flyover country!