FM4NPP: A Scaling Foundation Model for Nuclear and Particle Physics