While you wait for answers, we may have found some information which could help you.
Click here for Neutral Safety Switch
Massey Ferguson 165 tappet adjustment?
Why is by battery cable sparking?
My 2004 Massey- Ferguson 231 Diesel starts good?