if you hooked the same colors together that should be good, so then you need to check to see if the way the light is mounted adds a ground to the socket where there shouldn't be one .... and check if the switch is doing it's job right, does it 'click' when you turn it one way and dim the dash lights when turned the other way?
Bill