From those threads - the second one has this post below.. if all the Max are the same, I would try this "tapping" method mentioned and see if you can get it running and at least back to the house while you wait on the part (its sorta the same principle as tapping the starter on your car when its going bad!)...
Re: Mahindra Max 28 electrical
I know this and old thread, but for those who would like a little more info here it is. There have been a lot of reports of the 3 wire connector from the fuel shutoff solenoid filling with moisture (not sure how/why), drying the connector often fixes the problem. If there is a problem with the solenoid itself here is what happens, one wire is ground, one wire is hot when the key is in the 'run' position and one wire is hot in the 'start' position. When the solenoid dies you loose the 'run' circuit, so when you release the key from 'start' you loose power to the solenoid (needs power to keep the plunger retracted allowing fuel to flow). If the tractor dies when you release the key it is your fuel shutoff solenoid, if 'tapping' the solenoid doesn't work it will need to be replaced. The solenoid is a large cylinder that threads into the back of the injector pump on the right side of the engine (has a large set nut to hold it in place), the connector is often tucked in close to the firewall and may take a bit to find it.