Amplitude = 28 (the length of the string)
Vertical Shift = height of midline above the ground = 2 + 28 = 30
Horizontal Shift depends on where the ball is when you start. The zero position would be with the ball and string horizontal along the midline swinging up. If you start with the ball hanging straight down, you are starting at the low point of the sinusoidal curve, so horizontal shift would be -pi/2.
y = 28 sin((2pi/3)t - pi/2) + 30