NO you will not, Go to immigration with your flight ticket and ( if your more than 40 days over) 20,000 baht MAX charge.
they will take ur cash an give you receipt to show when u depart
or just show up at the airport but you take a risk if your stopped before you get their
If you are on an overstay, always make sure you have the money to pay the fine and money ( or cc ) to buy ticket to leave.