Hi,
If you haven't already done so, try a new, correctly gapped plug as a first shot. Otherwise, the engine dying when you turn the lights on sounds like classic symtoms for bad points and/or ignition timing. Put in a new set of points and set the timing carefully to the marks (although the 90 isn't that critical on timing).
The engine sputtering at high revs might also be a fuel supply issue. Pull off the fuel line and check that fuel flows well from the fuel cock. If not, you could have a blocked fuel tap or filter, or a blocked breather hole in the fuel tank cap.
A final thought, have you got the correct sized jets in the carb? If it's a 90 Sport, you may have been sold a carb for a 175 or 100, which are the same body with different jets and slides. Similarly, the other 90s used the same carb as the 50 Sport, but again with a different main jet. From memory, the 90 Sport needs a #110 main jet (the 175 and 100 used #95) and the 90 Deluxe/Trail/Mountain needs a #130 main jet (the 50 Sport used a #110). Double check these jet sizes against the parts books which you can from the "Manuals/Articles" tab at the top of the page.
Hope that helps,
Graham