I would recommend doing this for only the first 4 load steps for one complete squarewave. Also, when you are applying acceleration in a positive direction the body will start accelerating in that direction, and even if the acceleration direction is reversed, it may continue some distance due to inertia, you can test this hypothesis by changing the time for the third step. Also, not sure why acceleration changes in z-direction in your model.
How to access Ansys help links
Guidelines for Posting on Ansys Learning Forum