Modify Trackpad Right click via command line without logout
I think you would need to reload the kext for it

sudo kextunload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTrackpad.kext to disable it. 

Change kextunload to kextload to re-enable it.

Now create a script from above so you can run it with one click.

Sorry, that was for the external trackpad.

For the internal that would be to unload:

sudo kextunload -b com.apple.driver.AppleUSBMultitouch; sudo touch /system/library/extensions ; exit