In the new persistent naming convention, ethernet interfaces are typically named enp-something. As you see, you have an interface
enp3s0. Since you say you are connected to a switch, I assume it is with ethernet.
On your normal desktop computer, running recent versions of Ubuntu, you are far better off to set a static IP address in Network Manager, as discussed here: static ip network guide
However, if you wish to use
/etc/network/interfaces in order to learn and to be confident to use the same technique in the Pi, then, first, find out the range of addresses used in the router or other device that serves DHCP on your network. We will select an address outside the DHCP pool. Here is an example: http://www.mathgamehouse.com/oldmgh/istorm/help/manual/images/linksys.gif
In the example, the DHCP pool extends from 192.168.1.100 to 192.168.1.149. If it isn't otherwise reserved, a static address of, in this example, 192.168.1.5 would work perfectly.
Next, I suggest that you amend your file to:
iface lo inet loopback
iface enp3s0 inet static
dns-nameservers 192.168.1.1 220.127.116.11
Of course, substitute your exact details here. Reboot and check:
ping -c3 www.ubuntu.com
If you get ping returns, you are connected.