If you type Shift+J with a Farsi keyboard, it will insert: ـ If you type it after ی, it will appear like یـ