Homeless man indicted on capital murder charges and injury to a child