Please read the legal FAQ written by EFF lawyers. There's a growing legal directory of people who may be able to help you.
If you need to check if a certain IP address was acting as a Tor exit node at a certain date and time, you can use the ExoneraTor tool to query the historic Tor relay lists and get an answer.