Not a very difficult solo but it sounds great and it's an awesome song.
Capo 3rd fret, tabs in reference to Capo.
e|------------------------------------------------------|
B|-----5---5---------5-----5---------\8-8-8--6-5-55-----|
G|-----5---5---------5-----5---------\9-9-9--7-5-55-----|
D|-5h7---7---5--5h7-----7----5-5h7----------------------|
A|------------------------------------------------------|
E|------------------------------------------------------|
[ Tab from: https://www.guitartabs.cc/tabs/y/young_rebel_set/if_i_was_tab.html ]
e|------------------------------------------------------|
B|--------\8-8-88-10-10-1010-101010--8-8-88--6-6-6s8s6--|
G|--------\9-9-99-10-10-1010-101010--9-9-99--7-7-7s9s7--|
D|-5-5h7------------------------------------------------|
A|------------------------------------------------------|
E|------------------------------------------------------|
e|------------------------------------------------------|
B|-5-5-5---5-5-5---6-6--8-6-5-55------------------------|
G|-5-5-5---5-5-5---7-7--9-7-5-55------------------------|
D|------5-------7------------------5p3------------------|
A|----------------------------------------5p3-----------|
E|-----------------------------------------------5p3----|
This is my first tab, enjoy.