2013 wiper motor

Thanks for diagram this really helps.
Next, can I wire the stock switch to this newer wiper motor. On the stock switch there are four wires going to the wiper motor, From terminals A, P, F1, and F2. Doesn’t say which each terminal is used for.

D0B7C4EF-A6E6-4A63-96D3-88E61DD34AD4.jpeg