Self-similar nonequilibrium dynamics of a many-body system with power-law interactions