The 3rd plug should have a connector on each end. You need to unplug the input of the factory amp, plug one end of the aftermarket harness into the input plug you just disconnected from the amp and plug the output from the factory amp into the other end of your aftermarket harness. All should work fine from there.