Police name suspect in the shelter shooting and say he has been homeless for a while