Witnesses: Man takes gun from store, tries to shoot self