A former Mississippi youth pastor has been sentenced after pleading guilty to having sex with a 16-year-old church member.