The 1N540* series of diodes are all 3 Amp, the last digit indicates the voltage rating. If you want a 5 Amp rating, any of the FR504, FR505, FR506, FR507 would do, but would be somewhat larger physically. I think that they would mount in that area, with some care...