@Merv100 - The other suggestions above are good and worth investigating. With Y-axis, Rich is right you may have Y1 and Y2 swapped on the board. But since you said your Z-axis is going the reverse direction it sounds like an issue I had recently. Two of the little wires within a gray wire hardness (each has 4 wires inside) were out of order at the point where they plugged into the white connector. I was able to reverse them and all was good. This at least gives you one more idea to try as you’re troubleshooting.
Click here to read the details of my situation.
Good luck