Direct GPS / NFC toggle is not possible due to security restrictions on android. Only the 'Power Control' widgets which comes preinstalled with the device can do this.
However if your device is rooted, GPS / NFC toggle will work as single click toggle.
From android 4.1 onwards, there is a workaround, which allows 1-click GPS toggle without root. However this workaround was fixed in android 4.3, and so GPS will again work as a shortcut (unless rooted as mentioned above).