Man's death during police encounter leads to $5M settlement