Step 1: Download correct (Stock) rom off the internet. Make sure it is the STOCK rom, and that is matches your model number.
Step 2: Make sure you have obtained the correct PIT file for your galaxy tab 4.
Step 3: Once you have the files, don't plug your tab into the computer just yet.
Step 4: Before you plug your galaxy tab into the computer, make sure you have the samsung drivers installed on the computer. The drivers is essential for successful flashing!
Step 5: Once the drivers are installed, you are ready to go! Plug your tab into the computer and odin SHOULD detect the galaxy tab. It should look like this:
Step 6: Place the PIT file you downloaded in the pit section (Click PIT and then choose your PIT file).
Step 7: Now it's time to install your rom! Click on the option: "PDA", and pick the rom (It should be in a zip), that you downloaded. ALSO, do NOT check re-partion!!!!!!! You can choose auto-reboot option if you would like.
Step 8: Now click start, and the installation should take about 3-5 minutes depending on the size of the rom you downloaded.
Step 9: If it was successful, you SHOULD see a bold green box that say's PASS!
If NOT successful, Let me know!