Chosen Solution

Replaced battery with new one and now it won’t charge

The reason a phone usually doesn’t charge is because it detects an issue with the battery. This is for your safety and to prevent fires. Replace the battery, I would most certainly RMA that battery.

Its best to buy an original battery. What happened to you usually happens when the battery is bad quality.iPhone 5 Battery