Counter-terrorism police have charged a NSW man with engaging in a terrorist act following an armed stand-off last year.