A military police reservist shot and wounded two soldiers at Ft. Dix, then fled the base and shot two police officers before police killed him, authorities said.
The gunman had been told this week he would be relieved of duty pending a psychological evaluation, base spokesman Kryn Westhoven said.
Two military police officers accompanied the man to clean out his locker, he said. The gunman grabbed a .38-caliber rifle, shot one of the officers and ran off.
Minutes later, the gunman struggled with another military police officer, shot him and stole the officer's 9-millimeter service pistol, Westhoven said. The gunman fled in a Department of Defense police car.
During a chase, the gunman ambushed two Chesterfield, N.J., police officers, shot one of them and took their car.
Other police and the gunman exchanged fire at a shopping center in Chesterfield, about 10 miles from Ft. Dix. The gunman was killed, and a Mansfield, N.J., police officer was shot.