Is it safe to spray dried mud under the hood in a jeep wrangler 1995?

Yes, however, you should try manually scraping off the dirt yourself before spraying it and creating mud, which does have the possibility of harming your engine.