Orajel could provide oral pain relief for a dog, even if just temporarily.
Not taking your dog to a vet, and using meds without consultation or a diagnosis, is a judgement call.
The good news is that Orajel isn't harmful for dogs if used correctly and carefully.