A former eastern North Carolina pastor has pleaded guilty to child sex crimes dating back to the 1990s.