The family of a 13-year-old boy who died after being bullied and hit at school has reached a $27 million settlement.