Update: I put the genuine Fan switch in the car the fan starts working at 95-96 degrees and goes off at 88-89 degrees. The temp needle has some issue I think. On the scanner the coolant temp was 95 degrees when the fan turned on the needle was past half mark. I will get the needle fixed.
The main problem is the automatic solenoids are not working. I have attached the D4 switch. When I put the car in D on the scanner D4 switch goes on. The solenoids are connected with ECU too. There another switch on the scanner named PNP. The Value on it always stays in GEAR.
I think someone has bypassed it so that the engine revs past 4000RPM. I rev it in neutral the RPM goes all the way to 6700 whereas auto car should cut the RPM at 4000 in neutral.
When I connected the D4 the Solenoid B had value 0% and solenoid A lockup was OFF. Is the gear looking for VSS signal for solenoids to work? Or should the solenoid B show some percentage when moved from N to D/stationary car.