The 48-year-old Woonsocket man was carrying an Airsoft-type pistol capable of shooting metal projectiles, police say.