What make and model of oven was the old one ?
Most likely the oven element is permanently attached to a circuit board that is powered up when you switch the oven on.
Which incorporates the on/off, temp, and timer functions, rather than a simple switch.
So if the element is starting to fail...