I do not think you can do that.
You can use the Reshape Array to change an array to a different configuration, but you need to set the number of dimensions when you wire it up.
If you have a fairly small number of choices you will use, you might be able to put different numbers of dimensions in different cases of a case statement.
If you give us more details about what you are trying to accomplish, someone may have an alternative approach which will work for you.
Lynn