Likely transmission park neutral position switch is defective. Sending nonsense signal to ECM which therefore cannot figure out what gear the vehicle is in. Maybe tied in with your reverse lights not coming on, because the faulty switch may never indicate the vehicle is in reverse when it actually is in reverse.