#include <bits/stdc++.h>
using namespace std;
const int maxn = 505 + 5;
const string T = "abacaba";
int count(const string &s) {
  int cnt = 0;
  for (int i = 0; i < (int)s.size(); i++) {
    if (s.substr(i, T.size()) == T) ++cnt;
  }
  return cnt;
}
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    string s;
    cin >> s;
    bool f = false;
    for (int i = 0; i + T.size() <= n; i++) {
      string ss = s;
      bool ok = true;
      for (int j = 0; j < T.size(); j++) {
        if (ss[i + j] != '?' && ss[i + j] != T[j]) {
          ok = false;
          break;
        }
        ss[i + j] = T[j];
      }
      if (ok && count(ss) == 1) {
        for (int j = 0; j < n; j++) {
          if (ss[j] == '?') ss[j] = 'd';
        }
        f = true;
        cout << "Yes\n";
        cout << ss << endl;
        break;
      }
    }
    if (!f) cout << "No\n";
  }
  return 0;
}
