Is it all of your illumination, like the defrost switch, and radio. Does your clock light work before your lights are on then go off when the are? You need to test your time control unit. If you have an FSM of your 240sx or what ever it is. It is probably one of a few things. But you should test the TCU first before replacing it. If you get through the procedure of testing continuity on the TCU, then the instructions say to replace the TCU. Go to a junk yard that has your model/year range, as these are really expensive at the Nissan dealer or even online at courtesy parts, like $250!!! I went to the junk yard and they even gave me a warranty on it too. I replaced the TCU and all the lights work fine. hope this helps you if not then your car is probably cursed!! Take care.
