First, pull the cap off the master cylinder and gently push the brake pedal down. If brake fluid doesn't squirt out of the reservoir then the rod is too long and you will have to shorten it.
Next, pull the drums and then remove the return spring on the shoes and see if the shoes move freely. If not the the lower anchor pivot is to tight. The replacement shoes I bought were to thick and I had to thin them with a file.
After all the above has been done The brake shoes should go out and in with no trouble. However, if they still stay out then the pressure retention valve in the master cylinder is defective. In the master cylinder, at the very end of the bore in front of the piston there is a valve that holds pressure in the system so you don't have to pump the brakes each time you apply them. If the valve goes bad it will either hold to much pressure or none at all. Either way you have to replace the master cylinder or put a repair kit in it.