A major lick played with intervals.
A major scale.
The third interval is the basis of major and minor chords. There are two different kinds of thirds, major and minor.
Use the bridge pickup, which is the best for the classic Telecaster sound. Software used for this kind of sound is Guitar Rig 5 with a factory preset: Country Twang clean.