You can build off of the basic yoking random pairs function to create the display of two different stimuli in two different positions. Basically, it involves creating one block of trials where one stimlist is selected from randomly (using $listname in the stim field) on the left side of the screen and another stimlist is randomly yoked (using &listname^-1 in the stim field)on the right side of the screen. You then create a second block of trials in which you simply swap the lists.
If you open the example input file I attached, you can see that the block one places the numbers on the left side of the screen and the word for that number on the right side of the screen. Block two swaps the positions, with the word for the number on the left side of the screen and the number on the right side of the screen. I also needed to create two copies of each number and word file so that DirectRT did not get confused when creating yoked pairs; I added _left and _right the names of each number and word list so that it was easy to put the stimlist names in their proper place in the input file.
If you run this, you will also notice that you can random the presentation of each trial using the bgr and wgr (like I did here) fields. Feel free to play around with the attached files and to let me know if you have any questions about them.