My name is Peter. I am a retired field service refrigeration and air conditioning technician.
I am in the dishwasher section of this website answering question.
Your question based on unit part number is a window air conditioner/ heater. So be it.
You have a old unit. I have made many service calls on these units. I know it is a old unit because the main control board is no longer available.
Is the problem the thermostat? How do you know? Have you used a multi-meter to Ohm it out. The thermal stat is part number 1185753. It cost $97.00.
If it is the heater. The heater part number is 1182568. The heater cost $137.00.
The rule of thumb is: " If the cost of repair is 1/3 or greater of a new unit, buy a new unit". "If the age of the unit includes parts not being available (Control board) buy a new unit".
You can go into the following web site, put in your model number and see the diagrams of your unit.
My professional advice, Buy a new unit.
Water Filters Lawn Garden Appliance Parts