First a Happy New Year

I know it's not a8 or v8 but as far as I know in v8 4.2 the same engine is inside
here my problem
my audio 100 s4 4.2l runs round (speed and oil pressure fluctuations) and takes no or very bad gas
this problem does not always arise
zb on the highway or highway not at all
in the city opener no matter whether the s4 warm or cold
when you turn it off and again it starts normal again for a short time
error read result
513 motor rotary sensor
Lambda
workshop meant lambda it can't be
you type aud camshaftsensor or crankshaftsensor
just now I've been going through and reading
the error code 513 is always because the car is yes when reading out
please for help
achso the error is at gasoline and gas operation
).