Windshield wiper motor right motor but not the right connection

I have a 2002 town and Country that needs a new wiper motor, so like a lot of times I went on Ebay and found a OEM wiper motor. My tech went to install it but said the connections were different. He said mine looked like it was wired in and the other has a 4 prong plug. The Chrysler dealer said it was a aftermarket motor but will work if we can figure out the deal on the plug in. Email me and I’ll email you pics so someone might know what to do.

harleycharlie57@aol.com