Assuming you have no dependents and that you use the standard deduction I would estimate that your Federal and PA income tax liabilities, based on a $36k salary, are about $4,900. After FICA withholdings that leaves about $28,000 after-tax income in your current job.
Assuming the ony change you make is to increase your compensation to $50,000, your after-tax income (i.e. after federal and PA income taxes and FICA withholdings) will be about $37,500. That means the $14,000 pay increase translates roughly into an additional $9,500 after all applicable taxes (e.g. not including any city tax).
Because it is impossible for me to identify and consider ALL the relevant facts, this advice is not intended or written to be used for the purpose of avoiding penalties, and cannot be used for that purpose.