Regarding your design question: I also would say that this is a randomized block design (RBD), and I would incorporate the multiple pastures within a treatment at Ranch D as a form of subsampling. As a RBD, blocks (i.e., ranchs) define the statistical inference space and are the factor that replicates treatment. Cows are nested within a given pasture and are not independent in their response to implementation of a particular treatment to that pasture. Similarly, pastures are nested with Ranch D and are not necessarily independent in their response to implementation of a particular treatment.
Some people (who are less likely to be statisticians, I would surmise) might say otherwise, that cows nested within a ranch are independent in their response to treatment. (Ranch is still a block.) That argument is context-specific: how the were cows fed (jointly? individually?), how are cows impregnated (natural by a bull in the pasture? AI?), pasture management protocols, pasture forage heterogeneity, etc. These are questions to discuss with your peers; the SAS Community does not have the expertise or the information.
Regarding your request for code: Once you've sorted out the roles of various random effects factors (e.g., ranch, pasture, cow) in your study and if you have code problems, please show us code that you've tried. Some one may be able to help then.
... View more