The Maryland Jockey Club and its employees at Pimlico Race Course and other tracks agreed “in principle” Friday to a new employment contract — days before the Preakness Stakes.