One site has a person saying that three years ago the replacement piece cost $300 for their Amana range. They didn’t mention the cost of installation but instead asked for a breakdown of the stove so they could replace it themselves. You should probably seek out the website for the manufacturer of your stove and ask them what the cost would be, or simply call the local appliance repair place that deals with your brand. If you have a whirlpool, this is your answer.
As to the cost of replacing the whole stove, that will vary greatly depending on make, model and size, starting at $349 and quickly rising to $999 and above.