Can slamming on brakes cause shaken baby syndrome if the car was going 35-40mph?

I would say "NO". I have applied brakes on a "wash-board" gravel road that shook the car very hard. If the baby is strapped into an approved car seat that is mounted to a standar car seat, the vibration should not be a problem.