An undocumented migrant was charged after prosecutors said there were drugs, guns and a latex glove in the emergency shelter site he was living in.