- 3G isn't WiFi, so you can't use it as WiFi, you can only use it as 3G.
- And how does the S4 fit into the story?

Anyway, the user manual of your dongle should tell you how to use it. But since you didn't tell about it, we can't tell you what page to read and what software to install.