A judge in New York granted a temporary restraining order preventing imposition of a 14-day suspension against trainer Todd Pletcher for an alleged medication infraction almost two years ago.