A 15-hour standoff between law enforcement and a knife-wielding suspect in Passaic county prompted the response of a SWAT team and the use of a chemical agent to force his surrender, officials said.