Ok, to help more...
To Review...
The Mic cord - to figure out this color code - is straightforward.
You know White is Ground - so that becomes Common
Black is Receive (Plunger out - shorts White to Black)
Yellow is Audio (Yellow Mic SHORTS to Yellow Audio in TX)
Red is Transmit...(Plunger In - Shorts White to RED)
Cobra - 4-pin
Pin 1 - White (Common) (Which is shield at the Plug end)
Pin 2 - Yellow Audio
Pin 3 - Red TX
Pin 4 - Black RX
IN Cobra 5-pin
Pin 1 Yellow Audio
Pin 2 No Connection (See Previous notes - might need to Short to Pin 4)
Pin 3 Black RX
Pin 4 White (Common) - Which is Shield at Plug End
Pin 5 Red TX
So if you can understand how I got to this point, you can do this!
Further Note...about 5-Pin - 5-wire setups not able to use 5-wire mic cords.
The Short to Pin 4 reference means there are various ways to get "Ground" and have the Audio NOT squeal - but not all cases work as a "standard"
So when you use the Pin 2 and 4 short together - might get a few quirks.
So use Pin 2 (for your Ground and Common) - then don't connect Pin 4 at the radio (Mic Plug to Mic Jack) - short Pin 2 wire to Pin 4 wire at the Mic Switch. - Pin 2 provides the ground at the Mic and radio - this means that you put Shield to Pin 2 at the Plug.
If you use Pin 4 (For your Ground and Shield) - it may put Audio "live" and make pops in the Audio from the speaker - then leave Pin 2 unconnected but use Pin 4 to ground the Mic element and the Mic common together - at Pin 4 at the Mic plug. This method is not the best for shielding of noise - but does physically ground the mic element all the time at Pin 4 ground - and not at Pin 2 shielded ground. This means you put Shield on Pin 4 at the Mic Plug.
Else for those 5-pin plugs - place a short at the Plug for Pin 2 to Pin 4 - at the Plug end - the Shield then just taps off of that to control the Mic. Just know that Pin 2 and Pin 4 short to ground - but these two grounds are different - it's why they supplied the radio with a separate ground for the Mic Audio - and a firm ground for the switching of POWER at the RX and TX side.
So the Audio side is delicate, and subject to noise - but can work in most home environments - just no guarantees on how well it works in Mobile setups for these Radios use a Chassis that is INSULATED from Mounting ground - meaning the Case is insulated at DC level - from ground - but the RF can pass thru to help with shielding - because the Chassis to Case ground is RF-bypassed - but blocks DC ground from leaking thru.