Officer reassigned after man dies in custody