NEW YORK (AP) — A man accused of attacking police with a machete near New York’s Times Square on New Year’s Eve was intent on committing a jihad against government officials and shouted “Allahu akbar” before striking one officer in the head and attempting to grab another officer’s gun, prosecutors said Wednesday.