you can't do asynchronous operation in the run.js file. If you want to check the customer tag, you can proceed from the documentation here.
With cart -> buyerIdentity -> customer -> hasAnyTag, you can check whether the tag you want exists in the user or not. You need to use graphQL input for this. You can check the documentation here.