Unijunction transistor in LTspice?
You can create a symbol, then link the subcircuit to it via the symbols attribute properties. Save the symbol and subcircuit in the sub and sym folders of your LTSpice installation directory, and you should be able to select it (restart may be required)  

I will try it out here and update with more details if necessary (also note that the help files have a section on adding your own components)

Okay, here's a step by step of the process:


Save the file with a .sub extension, e.g. 2N6027.sub and place it in your sub folder in the LTSpice install directory:


a. Create a symbol for the UJT - to make it simpler I opened the NJFET symbol, edited it accordingly and saved it as 2N6027 - I placed in the "Misc" folder, though you can put it in one of the other folders if you like:



b. Adjust the attributes of the symbol to include a reference to the .sub file. The prefix must be X for a subcircuit, and the model name must be the same as given in the file itself, which is X2N6027:

 

c. Make sure the pin numbers in the symbol (right click to see the info) are in the same order as in the file. Leftmost is pin 1, and so on, so right click and alter each pin number if necessary (and name if desired):


Try in it a simple circuit, if it doesn't complain about missing files and seems to work okay, then you're done (note I haven't actually checked whether the component works as it should, you will have to make sure of that. If it doesn't have a look for another model and repeat the above process):