yfx4, dogs very...very rarely "poop" in their crates. That the beauty of using a crate as a training tool.
But, if a dog is older, 2-3 years, and has never been in a crate before, that can be a horrific experience for them. Crates are best used when the dogs are puppies right from the beginning of ownership. I've trained lots of horses and several dogs. Our first standard poodle was a barker and it took months (lots) to fix the problem. Barking is usually related to "separation anxiety". The secret to quality training is introducing or changing a situation in small increments with positive rewards.
If you want a quick fix to the barking, a muzzle will work. Just be sure you get one where the dog can open his mouth to pant and to drink water.
If you use a bark collar, put it on, leave for 10 minutes and come right back to remove the bark collar and to reward the dog is he doesn't bark. If he does bark, wait until the moment he isn't barking and return. The idea being you only come back if he doesn't bark. Most dogs learn that pretty quickly.
On our first poodle, the minute we would leave him in the car and head into go shopping, he'd begin barking. I kept going into the store. When I came out, if he was barking, I'd turn around and go back into the store. After a few times, he realized if he barked I turned around and left him. If he didn't bark, I'd keep walking toward the car. We did the same method with the crate. if he was barking, we'd walk away and leave him. If he didn't bark, we'd come inside.
It's a long slow process, but does work if you are consistent and firm.
BTW, I also had a horse that had separation anxiety from his herd. That was a much bigger problem to fix; but I fixed it.
Marsha~