Never mind. I found the problem. It was a bent down contact on top of the motor frame. It had gotten bent down too far to make proper contact with the circuit board where the wiring for the headlight goes during the last rebuild after I finished painting the model.
Once I figured that out ,it was a simple matter of bending up both contacts to make a better connection with the circuit board.
Now it's running perfectly again.
Thanks!