When you changed the pin assignments of the Y axis to those of the A axis, did you also change the A axis pins to those of the former Y axis? If not, it may be confused as to which is what. Usually, axes that run in only one direction have a wire loose somewhere; you might try remaking all the connections to your Y axis motors and logic pins.