RE: old gas engine
Looks like an R/C-type connector for a battery supply to the electronic ignition. The large red wire is the kill switch wire. Simply connect that wire to the crankcase through a SPST switch. It grounds the primary side of the ignition.
Dr.1