I’m having this same problem also.
After battery replacement, iPhone restarts randomly and I experience ghost touches. This ghost touches will stop for a while when I press the sleep/wake button then occurs again.
Sometimes if I put on data and play music same time, it will reboot. Kind’f like any change of power output drawn from the battery causes it to restart. I’m thinking it’s a faulty battery. Please wat re ur thoughts