A knife-wielding 63-year-old man was shot during an altercation with NYPD officers in Brooklyn Tuesday night and later died at a hospital.