You will need to keep her leashed AT ALL TIMES when around any of these animals, to start with.
Try and take her around the pens of the animals leashed, to start with.
Does she know any obedience at all?
If yes,
have her do different commands near the pen.
If she is a dog who refuses to look at you/focus on you - even with treats/toys, you would do best learning and training "focus"- which can be a little long to train, but it does wonders!! I just started my pups on "focus" and in one day they have it down well.
I also suggest teaching the command LEAVE IT. This is important to teach before trying to get your dog to leave chickens alone.
You can see videos on youtube for this, as well as focus training.
after that,
When she looks at a chicken, give her the command LEAVE IT correct her with a sharp tug of the leash. When she is not looking at the chickens, give her a treat or toy, and praise the heck out of her. Always reward her for not paying attention to the chickens, and move her away or correct her when she is interested in them.
It will take a little work, but she may be able to pull through this.
IF you want to keep her but don't want her around your chickens,
there is an article in the members pages, I think it is called "Dealing with dogs who kill chickens" I wrote it not long ago, but it tells how to contain a dog (escape proof) that kills chickens, without the you or the dog having a miserable life.
*****OR if you want her loose, add some cattle panels or horse panels, on the outside/inside of your chicken runs/goat pens/etc. She shouldn't be able to get through those and the cost is fairly cheap.
Feel free to pm me if needed. Good luck.

& sorry for your loss!!!