I would first add an Index column, then select it and apply the Modulo calculation (Transform ribbon, Standard, Modulo). Enter a value of 4 for the example above.
Then I would select the Index column and apply a Pivot (Transform ribbon, Pivot column). I would choose your Column A as the "Values" setting, and in the Advanced settings I would choose "Don't Aggregate".
This assumes/relies on every "record" being input as the same number of rows (e.g. 4).