The SW Lights_gear module controls Landing lights and they work differently than Taxi lights. FS has separate internal events to turn Landing lights ON and turn Landing lights OFF. However, there is only one FS event for Taxi lights - toggle from the current condition (ON or OFF) to the opposite condition.
The purist in me wants a Shockwave Taxi light on the nose gear that is controlled separately from the Landing lights on the wings or fuselage. Therefore, the SW Lights_gear module doesn't help. It only gets you all lights (Landing and Taxi) ON or Off.
The complicating factor here is the Taxi switch on the panel. It gets pulsed about every second and if it's switched ON and the Taxi lights are OFF, then the Taxi light is toggled to ON again, even if the gear is retracted . . . giving you the "floating" taxi light. That is what gave me the impetus to look for the proper solution.
Computer logic is tricky. I have a love-hate relationship with it.
p.s. Let me know if you want to try it out.