Chosen Solution
I opened up my computer so I can clean out the dust and everything.But when I was connecting everything I accidentally
ripped out the grey wire that connects to the airport card.What Can I do and Can I replace it.
Ouch! These Coax connectors are a bit tricky to replace, they can be found. The other option which is how I deal with it, is to replace the full cable! Here’s a source IPEX U.fl MHF 4 Plug RG-0.81 RF Pigtail Coaxial Jumper Cable OD 0.81mm Black Connector 10cm 15cm 20cm 30cm But you need to get to the other end and soldering in the new one. The other direction is quite drastic but might in the end be easer and cheaper for you. Thats getting a replacement housing! iMac Alu 20" Rear Housing Unit/w Chassis - $17 USD! Then you just need to move things over.
From your photo it look nearly disconnected. Just snap it back onto the connector on the wi-fi card. iMac Intel 20" EMC 2133 and 2210 AirPort Extreme Replacement