A 21-year-old New York City resident and citizen of Kazakhstan has pleaded guilty to charges that he planned to either join the Daesh terrorist group in Syria or shoot police officers in United States, the US Department of Justice said in a press release.