A California man was arrested and charged by federal prosecutors after he allegedly threatened to kill Muslims at a mosque, the Department of Justice said.