Problem with MMA8452Q Accelorometer

That breakout board has pull-up resistors for the i2c-bus, that's good.

You could run the i2c_scanner : Arduino Playground - I2cScanner
If the i2c_scanner detects the sensor, the connections are good.

After that, try the example code on the Sparkfun page.