When facial pain is burning or electric shock-like, does it necessarily mean that it is caused by trigeminal neuralgia?

There are many causes of pain in general when it is burning and electric, not just trigeminal neuralgia, but also possibly glossopharyngeal neuralgia and post-herpetic neuralgia, so a diagnosis needs to be confirmed with a thorough examination by a doctor.