Samsung Galaxy Tab 4
You have to flash the firmware of your device with ODIN to reload the operating system and apps. Go to this and this thread to download the firmware as per your device. If you didn't find it, please provide more information about your device so that I can show you the right way.