Calculate junction temperature of MOSFET during pulse
Your math looks reasonable.. however that device will not withstand anywhere near 400A. Especially not for 300uS.



Looking at the safe operating curve... The maximum you can do for 300uS is about 100A if your Vds is less than 20V.



So basically the temperature thing is mute. You will let out the smoke.