Check the battery !
I had a similar problem two months ago. I traced the origin to a bloated battery putting pressure on the touchpad circuit. The battery has now been replaced by Apple free of charge and all is OK. I suggest to remove the battery and run the MBP of the charger
to see if the problem goes away.