With the engine off and ignition on what is the state of the charging light? On/dim/off?
Did you check the volts at the battery while riding? I am curious about what happens with the charging voltage when the light comes on bright. If the voltage stays ca. 13.5 V there might be a problem with the connection of that light bulb and nothing else.