Suspect shot after firing at officer