Yes switch like you mentioned should be good if it works like that. Like the most of h/l switches in bike works. But this switch has some extra wires. You may have to test which one for which use.
Regarding solenoid wiring
Red is +
Black is -
You can connect black to any nearest ground from car body. And red to simple to simple on/off switch getting positive from fuse tap. Thus simple switch will control positive going from fuse tap to solenoid positive.
Now that you want momentary on/off for flash and full time high beam switch. But also you want to run it of oem fog lamp. So your momentary switch won't flash until unless your pilot is on. Now to sought that you have to run an independent wiring of car battery using inline fuse and then connect it to momentary switch and also a diode in between to prevent high beam all the time.
Now this thing works easily in bike as momentary switch power high beam filament of bulb. But the same switch in case of bi-xenon projector will flip solenoid only. So to cope that positive of solenoid and positive going into ballasts are to be connected together to that switch in case you want direct flashes during day.
I would recommend you to use independent wiring for them since you want flash from off
Regarding solenoid wiring
Red is +
Black is -
You can connect black to any nearest ground from car body. And red to simple to simple on/off switch getting positive from fuse tap. Thus simple switch will control positive going from fuse tap to solenoid positive.
Now that you want momentary on/off for flash and full time high beam switch. But also you want to run it of oem fog lamp. So your momentary switch won't flash until unless your pilot is on. Now to sought that you have to run an independent wiring of car battery using inline fuse and then connect it to momentary switch and also a diode in between to prevent high beam all the time.
Now this thing works easily in bike as momentary switch power high beam filament of bulb. But the same switch in case of bi-xenon projector will flip solenoid only. So to cope that positive of solenoid and positive going into ballasts are to be connected together to that switch in case you want direct flashes during day.
I would recommend you to use independent wiring for them since you want flash from off