A former West Virginia correctional officer has pleaded guilty to a federal civil rights violation in the death of a man who died less than a day after being booked into a jail.