Ok so assuming that the board will be wired directly to the track rollers, and in conventional you are not liable to exceed perhaps 12VAC to the track, you should use the blocker diode D1 as discussed, and R1 should be about 280 ohms for led currents in the range of 10-13 ma.
Hopefully that helps?
Rod