This switch is commonly seen in Cessna aircraft. It is a dual switch used to turn on the main alternator and main battery. The switch is designed in a way that the battery must be turned on first before the alternator can be engaged.
The drawing below is a generic reference drawing. Wire gauges may vary depending on your electrical loads.