Current is largely irrelevant when you are changing voltage like that. Wattage can be converted as needed to different voltage which will then dictate your availability of current.
Based on your numbers you have 5940 watts of solar. Assuming you get 80% of the rated output you'll have 4752w to run with.
However, your inverter will have efficiency losses. If it's the "typical" 85% then a 4000w pump will need 4705w from the panels/battery.
What you need to do at this point is know how long the pump needs to run, whether it has startup surge or if that vfd inverter can do a soft start, and whether you'll have battery storage.
Also, is this system installed ready or are you still planning?