Electrical switch for outdoor security light(motion activated)
If both sets of lights are on the same circuit at the same location, a 3-way switch is all you'll need. Since neutrals will be tied together, connect the feed to the dark screw (common terminal) and the load, usually black or red, from each set of lights to the two remaining terminals on the switch.