This objective is not autofocus with some type of high-end housing and NOT with the D5000. D5000 = Manual focus ...
To autofocus on this 50 mm, then type in the above range, 50mm 1.4D AF-S (much more expensive)