Human, canine and feline STD's are species specific and can only be spread to the same species. So they cannot be contracted from dog to human or vice virsa. So the answer is absolutely not - a dog CANNOT get and STD from a person.
Please let me know if you still have any questions.
You are very welcome. Please let me know if you have any additional questions. I will be more then happy to help.
Please don't forget to accept my answer if it was helpful.
Sincerest best wishes,