I have a Arduino uno and everytime I hook the sensor to the 5V pin and The ground Pin the arduino shuts off. I have no clue why. This also happens with the 3v3 pin.
What is the sensor??? Link?
Which pins are you attaching to 5v and Gnd? Vcc and Gnd are next to each other on the sensor module. Did you solder the header your self? I would suspect a solder bridge if you have attached Vcc to 5v and Gmd to Gnd.