State officials have agreed to pay $650,000 to settle a federal lawsuit from the mother of a 12-year-old boy who said he was beaten and raped in 2023 by other youths in Wayne County's juvenile jail.