First, congratulations on recognizing a problem and trying to do something about it! So many of us don't.
Now... onto your issue. First, make sure you try and get enough sleep. I know I am more likely to become frustrated more quickly and possibly yell if I am tired and not taking care of myself. I know it's hard to do as a mom ... we look after everyone else first. But, if you don't take care of yourself then you won't be in top shape to take care of your daughter. So, that's a must.
Next, When you feel the urge to yell take a quick inventory. Why do you want to yell. Are you frustrated with something your daughter is doing... or frustrated with someting else in your life and your daughters behavior is just the trigger. Is what she doing REALLY that bad. Learn to determine what needs correction and what really doesn't.
Next try gentle discipline. I tell my daughter 'No, don't play with the curtain. It could fall and hurt your head.' I will tell her 'no' three times... and then I move her. Now, my daughter is just 11 months old. So, the level of discipline is different. With a 4 year old you can start taking things away. Learn what her favorite more cherished things are. What does her world revolve around. You tell her 'no' and why you don't want her to do that, and then you tell her 'if you continue.... then you can't play with such and such'... or whatever it is you choose to take away.
She might not 'get it' the first time...but once you FOLLOW THROUGH and actually take away what you said you would .... she will start to make the connection. With a 4 year old it should be something fairly immediate. Their attention is pretty short term, so saying 'we won't go to the zoo in 2 days' ... isn't going to do much and will just frustrate her in 2 days because she won't remember what she did previously to warrant the change in plans. With your older child you can take away the long term plans as discipline.
Be consistent. Set a limit of how many times you tell her to not do something before you take something away. And then stick to it. And more importantly FOLLOW THROUGH! You MUST MUST MUST follow through each and every time. Empty threats are useless. Kids are smart.... she will figure out very quickly that your 'threat' to take something away will result in nothing.
Also, a note on why I suggest telling her WHY you don't want her to do something. I believe kids are much smarter then many adults give them credit for. They are always trying to figure stuff out and learn. The old 'because I said so' gives them nothing but frustration. There is no connection between playing with the stove and the consequences. So, what is the big deal about playing with the stove. Kids need a reason. Because mommy said so just won't cut it very long.
The other day my daughter was pulling on the curtains. I told her "NO...it could fall and hit your head and it would hurt!" Earlier that day she had fallen and bumped her head. After I said the curtain could fall and hit her head she looked and me and patted her head. I knew she got it. At least for that moment. Of course the next day she promptly forgot...but for that moment... she understood and didn't play with the curtain anymore.
I can remember as a kid my mom ALWAYS used the 'because I said so' reason. Even as I got older. Eventually I just didn't respect her reasons for not wanting me to do things. She never HAD a reason...so why should I listen to her. We had some very very difficult years, particularly when I became a teenager. Now, of course most teenagers are difficult...but we REALLY had a difficult time. I didn't respect her and that was clear. I found her thinking completely void of logic, I would call her on it ... but she never changed her tactics.
I think I would have been difficult no matter what...but I also think if she had raised me earlier with clear reasons for why she would not want me to do something, or to do it ... then I would have at least respected her. I would have seen the reasoning behind her thinking. I still wouldn't have liked it... but I would have at least respected her.
As far as your husband. You do need to sit down and discuss this with him. Try and see if you can get him on board with a united front for parenting. Consistency is so important. Not only that, but it's his daughter too. Parenting should not be a one person show if both parents are in the picture. A child needs to know that both her parents are on the same page.
Before you talk with him think through WHAT you want him to do. Just going to him and saying 'you need to be more involved' isn't going to work. First, men tend to be more logical in their thinking. They need something laid out clearly and specifically. Second, YOUR idea of more involved and HIS idea of more involved ... most likely are two different things. If you make a list of what you would like him to do on a regular basis and specify WHY and how this will strengthen your family and help you ... then he should be more open to the ideas.
Many men find women very emotional and non-rational. Present yourself and your ideas clearly and specifically. Be calm. Don't go to him when you're upset. Also, don't ask for an answer right away. Allow him some time to process the information. Tell him you would like him to consider your ideas and then the two of you can talk about it in a day or so. Set a time when you will come back together and determine a plan to move forward.
Good luck!