Questions related to the wiring of after-market lights seem to be an on-going topic. Toy4Life was specifically asking how to wire them so they go off with the ignition. So, hopefully this write-up will serve as instructions for him and others in the future.
This is a detailed step-by-step of how I wired my pair of Pro Comp 100W off-road lights on my 2007 Tacoma TRD. I have a single switch on the dash that controls both off-road lights. The lights can be turned on/off at any time. They are not tied into my regular headlights or fog lights at all. The lights automatically go off when the ignition is turned off. I use a relay to control the power to the lights. Using a relay makes the job more complicated but it is a safer method. Using a relay also allows you to use a smaller switch because the switch does not have to carry the full electrical load of the lights. The switch circuit is separate from the light circuit. If you want to know more about relays check out this site (http://www.the12volt.com/relays/relays.asp). This method should work fine for any combination of lights as long as the total wattage of all lights is 240W or less.
If all of your lights are rated more than 240W in total, you will have to use a larger inline fuse and heavier gauge wire than what I have specified below. Fuses are usually rated by the amount of amps they can handle. You can figure the amp draw of your lights by dividing the total wattage of your lights by 12 (volts). So, if your lights total 300W you would need an inline fuse capable of carrying 300w/12v, or 25 amps. You would also need to use heavier wire, at least 12 gauge. The smaller the wire gauge number, the heavier the wire. The heavier the wire, the more electricity it can safely carry. It doesn’t hurt to use too big a wire but it is dangerous to use too small a wire. If your total amp draw is greater than 30 you will also need a heavier relay than the one I specify below.
As you run your wires, try to keep them out of the way and protected. Use plenty of wire ties. You will be instructed to connect a few wires to a good ground. A good ground is anything metal that is bolted or screwed to the frame, which is ultimately connected to the negative terminal of the battery. If the surface is painted be sure to scrape off the paint so the ground wire is touching bare metal.
With the exception of the lights, you should be able to find all of the necessary items at your local auto parts store or Radio Shack. The links provided in the Items List section are simply so you can see what I am talking about. I have not dealt with any of the web sites listed.