A 5000 SF farm would actually be a large garden. That’s just over 70’ squared. (But it’s good that you specified the size, because ‘mid-size’ means different things in different parts of the US and the world. In the US Northeast, a 100-acre farm would be ‘pretty big’, but in the US Midwest a 1000-acre farm would be ‘small’.)
So you need to specify more about this mythical farm.
What is your labor market? Who will work your ‘farm’?
What kind of market do you deliver to? Roadside sales only, ‘farmer’s market’ on weekends, or delivery to other retailers? Figure your costs of serving the market in terms of labor and transportation charges.
Assuming you own the land outright, what are your costs of ownership? Property tax, liens and improvements, etc. Otherwise, you have carrying costs for the loan / mortgage for the property.
Any improvements? Do you grow on flat land, or in greenhouses? What kind of buildings do you have and maintenance costs for them?
How do you water the crop during the dry parts of the growing season, and what is your cost for water?