Try a different charger. The symptoms point to either bad hardware or corrupt software. Do a search online for the original ROM for the tablet and how to load it onto the device. If it's seen by a computer you can reload the operating system on it like re-imaging a computer. Will wipe everything and restore it to factory defaults.
If it's an issue with the hardware that won't help and you either need to get it fixed or replace it.