Authorities say a delivery driver had parked a truck near Straight Street and Fulton Street in Paterson when a suspect approached, pushed the delivery driver into the vehicle and got behind the wheel.
At one point, police say, the delivery driver attempted to jump out of the moving vehicle but ultimately remained inside as the suspect was speeding.
The delivery driver then noticed two police officers nearby and was able to flag them down for help.
The police chase came to an end when the suspect turned onto railroad tracks and got stuck.
SEE ALSO: Teen robbers wanted in violent crime spree that spans across Philadelphia region
The suspect got out of the vehicle and tried to run off, but police were able to take him into custody.
The delivery driver was unharmed.
Charges are pending against the suspect.