1.You can cut off the ends of your wires and either splice the wires together of install a two wire weather resistant connector in line so you can disconnect the light or needed. That's what I did and it works great. Trouble free and super bright.
It should fit into a standard 4" opening, it has the same flange front and 4" step in the back as a halogen "Capsulelight" It does stick out more in the back than the regular bulb. Dimensions on this bulb is 4.5 in x 2.88 in deep. Hope that helps.