I haven't had a chance to work on it yet but I've bought the parts from Tasca online: www.tasca.com
I bought the camera and the wiring harness that is inside the tailgate. The wiring harness has one end that plugs into the pigtail of the camera and the other end has the plug that fits the plug at the end of the bed that you disconnect to remove the tailgate. I'll probably have to splice the wires in the harness to make it long enough but that won't be too difficult.
Part numbers are: 56054164AB for the camera and 68051748AB for the harness. Please don't just take my word on the part numbers though, double check them before ordering.