A man accused of kidnapping and raping a Kansas sheriff`s deputy was in court Thursday afternoon and was expected to agree to a plea deal presented by Johnson County prosecutors.