A New Jersey police officer is being hailed as a hero after rescuing a driver trapped in a burning car following a crash.