Here is my thought process so far:
There are $10$ options for the first number, $9$ for the second, and $8$ for the third. According to this current structure, the fourth and fifth digits would have to be one or two of the three already selected digits in some order. If the first three digits were $1, 2, 3$, then the possible permutations for the fourth and fifth spots are: $11, 22, 33, 12, 21, 13, 31, 23,$ and $32$.
So the answer so far would be $(10 \times 9 \times 8) \times (9) $
Therefore: Per three distinct digits, there are already $9$ options for a string. Additionally, the fourth and fifth spots which contain $1$ or more of the distinct digits for the first repeated occurrence don't have to be at the end. I thought that I should multiply the present answer by $(5$ choose $3) = 10$ to account for this additional variation in order, but I can tell that there must be some number of strings which are counted twice by this method, so
$(10 \times 9 \times 8) \times (9) \times (10) = 64800$ is probably too great. Any suggestions? Thank you

Instead of thinking about the number of ways to place the digits (which gets quite complicated), think about it as a three step procedure:
How many ways are there to write a 5 digit number with 3 distinct characters?
How many ways can one choose three distinct characters to be placed into the forms from above.
Watch out for any duplication or overcounting.
There are two options (using Joe's suggestion in the comments):
$\{a,b,c,c,c\}$. We can choose $3$ of the $5$ positions for the $c$'s, then there are two options for the $a$ and $b$ ($a$ first and then $b$ or the other way around). This gives $$ 2\binom{5}{3}=20 $$ ways to write $a$, $b$, and $c$.
$\{a,b,b,c,c\}$. We can choose $1$ of the $5$ positions for the $a$, and then $2$ of the remaining $4$ positions for the $b$'s. This gives $$ 5\binom{4}{2}=30 $$ ways to write $a$, $b$, and $c$.
Now, there are $10\cdot 9\cdot 8=720$ ways to choose three digits for the positions $a$, $b$, and $c$. So, one might expect $$ 720\cdot (20+30)=36000 $$ arrangements. The problem with this is that there is some overcounting since $abbcc$ and $accbb$ result in the same arrangement when the numbers in $b$ and $c$ are also flipped. This occurs for $a\leftrightarrow b$ in the first option and $b\leftrightarrow c$ in the second form. Therefore, we've overcounted by a factor of $2$ and there are $18000$ total arrangements. (Note that $720\cdot 30/2=10800$ matching @Green's approach).