I found the problem - a bad contact in the brake light switch.

By reving the engine, I was taking my foot off the brake and reapplying my foot to the brake and this was activating the switch properly, lol.

Points of brake light switch cleaned and all is now working perfectly.

Thank everyone for their help.