GE Oven will not work

My oven stopped working. I looked online and was guided to part #AP2020569. I purchased and received. When I received, the part has a plug with female connections. The part I had has male connections. What is the best way to hook it up? Do I cut the male connection off of the old part and attach to the new part using the ceramic wire holders, or do I cut the female connection of of the oven and attach the old male connection there?