Good, you've got the red boards in your trackball.
Yes, that is the correct cable to order to connect your trackball to the Optiwiz.
The green cable is to connect to EARTH GROUND. You would run a wire to connect this to the chassis of your computer case.