In[1]:= strings = Import["formula.txt"];
ToExpression[StringDrop[StringSplit[strings, "=\n"], -1]]
Out[2]= {1020968, 19880698942132}
where formula.txt contains the two lines you showed in your example. You may need to provide a path to your text file, depending on location.
This can also be
In[3]:= ToExpression[StringDrop[StringSplit[Import["formula.txt"], "=\n"], -1]]
Out[3]= {1020968, 19880698942132}