awk again,
input any suite of values separated by , and newlines,
output a fixed-width csv:
awk '{b=printf(b(FNR>1?b"(FNR-1)%n?",":ORS:"")$0}0==FNR%n{print b;b="")}END{if(b)print b""}' RS='[,\n]' n=4 <<END Hello Hi,Hullo,Hammers,Based Random END Hello,Hi,Hullo,Hammers Based,Random