Here is a link to a teardown/disassembly for your lappy, https://www.ifixit.com/Device/Dell_Inspiron_n5050 . Near the bottom of the page is a link to the service manual.
It appears you will need to remove any part of the connector that may still be stuck to the board. Then you will need to order the wiring harness. Which harness, I don't know, you'll find out when you get in there. The harness should have a part number on it somewhere. You'll probably have to deal with Dell (Good Luck!) to get the part,,, unless you can find it aftermarket.
It looks as though this will require a complete teardown of the lappy, which will be quite an experience if you've never done it. Pay attention to the service manuals cautions and directions.
Hope this helps.